Comments (4)
The key seems to be compilig ruby with --enable-load-relative
.
We're using ruby-build to pre-build ruby installs for various users/servers.
…
export RUBY_VERSION=2.3.3
export RUBY_CONFIGURE_OPTS="--disable-install-doc --enable-load-relative"
ruby-build --verbose $RUBY_VERSION ~/.asdf/installs/ruby/$RUBY_VERSION
asdf local ruby $RUBY_VERSION && asdf list ruby && asdf reshim ruby ${RUBY_VERSION}
…
While this won't fix existing installs, it might be worth adding to asdf-ruby's install
script.
from asdf-ruby.
@maxim that's true, it looks like Rubies installed by asdf-ruby also have hardcoded shebangs. I suppose it would be possible to write a simple shell script to replace the shebang lines, but I'm not sure it's worth it.
from asdf-ruby.
I've removed this migrating rubies section from the readme since it's simpler for users to reinstall than it is to migrate. @rmoriz if you think --enable-load-relative
is worth having can you open another issue for it? Thanks!
from asdf-ruby.
As far as I understand, rvm uses --enable-load-relative
. That said, asdf-ruby
's README shows the path to https://github.com/rbenv/ruby-build#custom-build-configuration so if someone cares, they should find this issue and the solutions or the hint to the solution somewhere else.
I understand this is an edge case.
from asdf-ruby.
Related Issues (20)
- Unable to install any ruby version with make: *** No targets specified and no makefile found. Stop. HOT 2
- Version not found for Ruby 3.2.2 HOT 1
- Failed to install ruby 3.2.2 on M2 Pro with macOS Ventura 13.3 HOT 20
- Failed to install ruby 3.1.2 on Mac OS 13.3.1 M1 Pro HOT 6
- Can't compile 3.1.2 on macos 13.4 (x86) due to errors in ephemeral C source/header files
- Can't install truffleruby+graalvm on AlpineLinux HOT 1
- Failed to install Ruby 3.1.4 on Ubuntu 22.04
- Issue installing ruby 3.2.X HOT 1
- Failed to install ruby 3.2.1 on M1 Pro with macOS Ventura 13.3 and macOS 14.0
- Observe ASDF_CONCURRENCY HOT 3
- rbenv install faild with whitespace in `$ASDF_DATA_DIR`
- Getting BUILD FAILED (macOS 13.2.1 on arm64 using ruby-build 20231114) using M2 Macbook on Ventura 13.2.1 HOT 2
- Failed to upgrade Ruby version from 3.2.2 to 3.3.0 using asdf HOT 2
- build fail for ruby 3.3.0 on Apple M2 Max silicone and sonoma 14.2.1 (23C71) HOT 2
- Add Ruby 3.2.3 HOT 2
- asdf does not seem to be picking up on ruby gem executables in the GEM_PATH HOT 7
- "Downloaded files will not be preserved." HOT 1
- Ruby 3.2.3 cannot be installed on Ubuntu 22.04 HOT 2
- Build failed: `psych` Could not be configured. It will not be installed. HOT 3
- Truffle Ruby Latest? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asdf-ruby.