I've been checking other questions around here from people having trouble installing ruby 1.9.3 in Lion with RVM, problem seemed equal to mine so I tried solutions provided with no success:
I first tried:
rvm install 1.9.3 --with-gcc=clang
Returning:
Installing requirements for osx/10.7/x86_64, might require sudo password.
Skipping `brew update` make sure your formulas are up to date.
Missing required packages: libtool, pkg-config, libyaml, readline, libxml2, libxslt, openssl, sqlite.
requirements_brew_generate_openssl_cert:4: no such file or directory: /usr/local/Cellar/openssl/1.0.1e/bin/openssl
Skipping update of certificates in '/cert.pem'.
Warning: found user selected compiler 'clang', this will suppress RVM auto detection mechanisms.
Installing Ruby from source to: /Users/****/.rvm/rubies/ruby-1.9.3-p392, this may take a while depending on your cpu(s)...
ruby-1.9.3-p392 - #downloading ruby-1.9.3-p392, this may take a while depending on your connection...
ruby-1.9.3-p392 - #extracted to /Users/****/.rvm/src/ruby-1.9.3-p392 (already extracted)
ruby-1.9.3-p392 - #configuring.................................................................................................................................................................................................................................................................................................................................................................................................................................................................
ruby-1.9.3-p392 - #compiling................
ruby-1.9.3-p392 - #installing ..............
ruby-1.9.3-p392 is not installed.
To install do: 'rvm install ruby-1.9.3-p392'
Notice how ruby-1.9.3-p392 is not installed. appears near to the end.
I tried to do as follows by a suggestion afterwards:
CC=/usr/bin/gcc-4.2 rvm install 1.9.3 --enable-shared
But It returned:
You requested building with '/usr/bin/gcc-4.2' but it is not in your path.
So I'm basically stuck here with no idea how to proceed. Any help will be highly appreciated. Thanks in advance.
This should solve it:
rvm get head
rvm install 1.9.3 --autolibs=4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With