Open Pr0p1k opened 3 years ago
Tried to run
rvm install 2.7.0
rvm install 3.0.0
The same error happens
Tried to run
rvm install 2.7.4 --with-openssl-dir=`brew --prefix openssl` --with-readline-dir=`brew --prefix readline` --with-libyaml-dir=`brew --prefix libyaml` --with-gdbm-dir=`brew --prefix gdbm`
rvm install 3.0.2 --with-openssl-dir=`brew --prefix openssl` --with-readline-dir=`brew --prefix readline` --with-libyaml-dir=`brew --prefix libyaml` --with-gdbm-dir=`brew --prefix gdbm`
it succeeded, but then I got back previous installations, so:
rvm install ruby-2.1.10
rvm install ruby-2.2.10
rmv install ruby-2.3.8
rvm install ruby-2.4.6
rvm install ruby-2.5.5
rvm install ruby-2.6.3
rvm install jruby-9.2.6
rvm install 2.7.4 --with-openssl-dir=`brew --prefix openssl` --with-readline-dir=`brew --prefix readline` --with-libyaml-dir=`brew --prefix libyaml` --with-gdbm-dir=`brew --prefix gdbm`
rvm install 3.0.2 --with-openssl-dir=`brew --prefix openssl` --with-readline-dir=`brew --prefix readline` --with-libyaml-dir=`brew --prefix libyaml` --with-gdbm-dir=`brew --prefix gdbm`
And it failed again. What could be the cause?
Was this ever resolved? Having the same issue
I am also getting same issue
Trying to install 2.7.4 and getting the same issue. Did anyone figure out what is happening?
I am also having this issue! I've tried the path of updating rvm, removing and reinstalling xcode, ensuring homebrew openssl is working, etc.
Anyone have an update on this? Having the problem on Mac Monterey with 2.5.7.
I'm having a similar issue trying to rvm install ruby-3.1.0
on OS X BigSur 11.6.2
Console:
% rvm install ruby-3.1.0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/11.6/x86_64/ruby-3.1.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Updating certificates bundle '/usr/local/etc/openssl@1.1/cert.pem'
Requirements installation successful.
Installing Ruby from source to: ~/.rvm/rubies/ruby-3.1.0, this may take a while depending on your cpu(s)...
ruby-3.1.0 - #downloading ruby-3.1.0, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 19.1M 100 19.1M 0 0 562k 0 0:00:34 0:00:34 --:--:-- 572k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-3.1.0 - #extracting ruby-3.1.0 to ~/.rvm/src/ruby-3.1.0 - please wait
ruby-3.1.0 - #configuring - please wait
ruby-3.1.0 - #post-configuration - please wait
ruby-3.1.0 - #compiling - please wait
Error running '__rvm_make -j16',
please read ~/.rvm/log/1643664059_ruby-3.1.0/make.log
There has been an error while running make. Halting the installation.
~/.rvm/log/1643664059_ruby-3.1.0/make.log:
...
linking miniruby
generating encdb.h
encdb.h updated
builtin_binary.inc updated
compiling builtin.c
NoMethodError: undefined method `empty?' for nil:NilClass
-e at -e:2
make: *** [.rbconfig.time] Error 1
+__rvm_make:0> return 2
Would appreciate any advice on how to resolve this -- thanks!
I just got rid of rvm from my system and started using rbenv
Same error here:
Checking requirements for osx.
Certificates bundle '/opt/homebrew/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/ema/.rvm/rubies/ruby-2.4.4, this may take a while depending on your cpu(s)...
ruby-2.4.4 - #downloading ruby-2.4.4, this may take a while depending on your connection...
ruby-2.4.4 - #extracting ruby-2.4.4 to /Users/ema/.rvm/src/ruby-2.4.4 - please wait
ruby-2.4.4 - #configuring - please wait
ruby-2.4.4 - #post-configuration - please wait
ruby-2.4.4 - #compiling - please wait
Error running '__rvm_make -j8',
please read /Users/ema/.rvm/log/1645722899_ruby-2.4.4/make.log
There has been an error while running make. Halting the installation.
On Mac OS 12.2.1
I've been having this same issue, trying to use rvm to install ruby 3.0.x on a Monterey 2018 Mac mini. Then I realized that my current ruby was jruby-9.2.9.0. I set it to ruby-2.7.6 and now 3.0.4 installs without any issues.
I was able to fix this by completely removing and reinstalling rvm using the "How do I completely clean out all traces of RVM from my system, including for system wide installs?" section of https://rvm.io/support/troubleshooting. Upgrading with rvm get stable
did not work.
Thank you for the information. I think my problem was related to jruby. Does it work for you if the current Ruby in RVM is a jruby version and you then try to install an MRI Ruby?
Indeed, even reinstalled, I cannot install Ruby 3 with Jruby active. I was fairly sure I couldn't install it either way before though. (Perhaps worth noting that I've had trouble updating other things like rubygems on certain Jruby configs)
Only had JRubies on Centos, had to run rvm use system
before installing CRuby.
brew update cmake
rvm cleanup all
rvm get stable
brew remove openssl@1.1
brew install openssl@1.1
echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig"
Try running these commands. I was getting the same issue get rid of it by running these.
I'm getting these same issues. I've tried rvm and rbenv. I'm trying to install 2.7.4. I'm using an apple silicon chip so i made sure to update rosetta, but that still didn't work. Not too sure why this is happening
This may not be the answer you're looking for, but I gave up on the other solutions and tried chruby. It works perfectly installing 2.7.8, 3.1.4 and 3.2.2 (and, FWIW, JRuby also) on a mini M2 Pro running Ventura 13.4.1.
Good luck!
On Tue, Nov 7, 2023 at 8:18 PM David Em-Yinn @.***> wrote:
I'm getting these same issues. I've tried rvm and rbenv. I'm trying to install 2.7.4. I'm using an apple silicon chip so i made sure to update rosetta, but that still didn't work. Not too sure why this is happening
— Reply to this email directly, view it on GitHub https://github.com/rvm/rvm/issues/5124#issuecomment-1801057639, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADKW4SGNSHEL3MUDUDWKYDYDMBXPAVCNFSM5B47YPG2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBQGEYDKNZWGM4Q . You are receiving this because you commented.Message ID: @.***>
I assume you already fix the typo in rmv install ruby-2.3.8
if rvm install 2.7
gets you 2.7.4, then your rvm is outdated
you should do rvm get master
early in that script.
when installing any ruby versionned x.y.z, you should always get the latest z
so 2.7.8 should be the only 2.7 you think about.
I am running bash script inside Mac OS X 10.14 virtual machine. The setup is clean, I get the latest gnupg, then do
All other rubies are installed successfully. As you can see, I already tried custom openssl dir - it doesn't help.
Both 2.7.4 and 3.0.2 produce the following
Here are the contents of make.log:
I have no idea how to fix it and haven't found the same problem anywhere.