Installing Ruby 2.0.0 Using Rvm

Installing Ruby 2.0.0 using RVM

Your rvm is probably not up to date, and by doing so the list of installable rubies also. Rvm probably took the best match, that was Rubinius 2

When you do

rvm list known

You obtain the list of known rubies that you can install

This list is updated at the same time you update rvm. Then you need to update rvm before installing MRI Ruby 2.0.0

rvm get stable

Install ruby 2.0.0 rvm

Download the latest Apple Xcode from the appstore. Open Xcode and install Command Line tools from the preferences. Try running rvm and installing ruby again.

Not able to install ruby 2.0.0

You need to activate 2.0.0 as well:

rvm use 2.0.0

To mark it as the default:

rvm use 2.0.0 --default

As for your "RVM is not a function" problem, see this SO question.

Can't install Ruby 2.0.0 with rvm

When I installed Ruby 2.0 on my OS X Mountain Lion I had to ensure that OpenSSL was first installed. Since I'm using Homebrew, all I had to do a brew install openssl before rvm install 2.0.0. It looks like you're running Macports (which I haven't used before), so I guess sudo port install openssl may work for you.

Also try to install the following as well: autoconf, automake, libtool, pkg-config, libiconv, libyaml, libffi, readline, libxml2, libxslt, libksba, curl-ca-bundle, sqlite3, zlib, ncurses, gdbm - they're listed as being missing by the output you've provided.

ruby-2.0.0-p247 is not installed

you need to run:

rvmsudo rvm get head    # update rvm
rvm autolibs homebrew # tell rvm to use homebrew
rvm install 2.0.0 # install ruby
rvm use 2.0.0 --default # use ruby and make it default

this is leftover after railsinstaller ... I think it can be automated - need to fix it.

Can't install Ruby 2.0.0-p0 with RVM. Error running 'make -j8'

Make sure to install latest version of Command Line Tools for Xcode and follow this instruction:

rvm get stable
rvm autolibs enable
rvm install ruby || rvm install ruby --with-gcc=clang


Related Topics



Leave a reply



Submit