Last active
October 7, 2015 13:07
-
-
Save johncalistro/3169135 to your computer and use it in GitHub Desktop.
Solution for segmentation fault on RVM with OSX 10.8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OSX 10.8 Mountain Lion | |
Xcode 4.4 (4F250) with command line installed | |
RVM curl https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable | |
Ruby 193p194 | |
Rails 3.2.6 | |
Error: | |
/Users/home_dir/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:799: [BUG] Segmentation fault ruby 1.9.3p194 (2012-04-20 revision 35410) | |
This is what fixed the problem for me. | |
$ export PATH=/usr/bin:/bin:/usr/sbin:/sbin:$HOME/.rvm/bin # keep MacPorts out of PATH during compile | |
$ rvm remove 1.9.3 | |
$ rvm pkg install iconv | |
$ rvm pkg install openssl | |
$ rvm install ruby-1.9.3-p194 --with-openssl-dir=~/.rvm/usr --with-iconv-dir=~/.rvm/usr --with-gcc=clang |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment