Kevin Brightwell edited this page Aug 26, 2015 · 1 revision
Clone this wiki locally

Installing RVM (Ruby Version Manager)

Ruby is a wonderful scripting language (apart from the power of Rails and web applications). RVM allows you manage ruby (and rails) in separate environments so that one application does not interfere with another.

This should be run as the "ralph" WITHOUT sudo.

bash < <( curl )
cd /h/ralph/umple_configs
rvm install ruby-1.8.7-p248

Within a directory that you "require" ruby, simply create a .rvmrc file to store local information about the ruby and gem versions.

cd /h/ralph/umple_configs
vi .rvmrc
rvm 1.8.7-p248@umple_configs --create
cd ../umple_configs

Now you should see the correct ruby version within that directory

ruby --version
>> ruby 1.8.7 (2009-12-24 patchlevel 248) [x86_64-linux]

Finally, set the version as the default

rvm --default use 1.8.7-p248

Now you can install rake (if not already installed) (NO SUDO)

  gem install rake