Reputation: 1
Specs: XCode 4.3.2, Mac OS X 10.7.3, RVM 1.12.3 (stable).
I really need help with this so anything is appreciated.
I installed Ruby 1.8.7, then needed to update to 1.9.3 so I found RVM. I installed RVM and then tried to update and this is the result:
rvm install 1.9.3
Fetching yaml-0.1.4.tar.gz to /Users/myname/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/myname/.rvm/src
Error running 'tar xmzf /Users/myname/.rvm/archives/yaml-0.1.4.tar.gz -C /Users/myname/.rvm/src ', please read /Users/myname/.rvm/log/ruby-1.9.3-p125/yaml/extract.log
Configuring yaml in /Users/myname/.rvm/src/yaml-0.1.4.
Error running ' ./configure
--prefix="/Users/myname/.rvm/usr" ', please read /Users/myname/.rvm/log/ruby-1.9.3-p125/yaml/configure.log Compiling yaml in /Users/myname/.rvm/src/yaml-0.1.4.
Error running 'make ', please read /Users/myname/.rvm/log/ruby-1.9.3-p125/yaml/make.log
Database file /Users/myname/.rvm/config/packages does not exist.
Installing Ruby from source to: /Users/myname/.rvm/rubies/ruby-1.9.3-p125,
this may take a while depending on your cpu(s)...
ruby-1.9.3-p125
- #fetching ruby-1.9.3-p125
- #extracted to /Users/myname/.rvm/src/ruby-1.9.3-p125 (already extracted) ruby-1.9.3-p125
- #configuring Error running ' ./configure
--prefix=/Users/myname/.rvm/rubies/ruby-1.9.3-p125 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/myname/.rvm/usr ',
please read /Users/myname/.rvm/log/ruby-1.9.3-p125/configure.log
There has been an error while running configure. Halting the installation.
ls: /Users/myname/.rvm/rubies/*/bin/ruby: No such file or directory
Upvotes: 0
Views: 1695
Reputation: 10885
You should follow this blog and install any version of ruby
http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
Upvotes: 0
Reputation: 5134
I would highly recommend using rbenv with ruby-build to manage your rubies.
It's much simpler than rvm and less magical.
Upvotes: 0
Reputation: 53158
please install osx-gcc-installer 10.7
read and follow the requirements:
rvm requirements
and finally reinstall ruby:
rvm reinstall 1.9.3
Upvotes: 3