postmodern / ruby-install

Installs Ruby, JRuby, TruffleRuby, or mruby
MIT License
1.91k stars 255 forks source link

`ruby-install ruby-2.4.4` produces corrupt binary on OSX High Sierra #323

Open craigbookwalter opened 6 years ago

craigbookwalter commented 6 years ago

Using ruby-install v0.7.0, I tried to install ruby-2.4.4. Download and compilation complete successfully, but running the ruby binary results in the process getting killed immediately. I have plenty of free memory, and I don't see any messages in dmesg related to the process getting killed.

|⇒ ruby-install --version
ruby-install: 0.7.0
~|⇒ ruby # system ruby works fine
^Cruby: Interrupt

~|⇒ .rubies/ruby-2.4.4/bin/ruby 
[1]    50692 killed     .rubies/ruby-2.4.4/bin/ruby
~|⇒ sudo dmesg | grep 'killed' 
Password:
Sorry, try again.
Password:
~|⇒ 
craigbookwalter commented 6 years ago

Attaching log file here ruby-2.4.4.log

havenwood commented 6 years ago

Can you confirm you're not running out of memory?

craigbookwalter commented 6 years ago

Pretty sure I'm not -- I'm watching top while i try to run ruby but I don't see any evidence of running out of memory ...

screen shot 2018-09-05 at 10 01 49 pm