treble37
11/25/2013 - 8:52 PM

rvm cheatsheet

rvm cheatsheet

rvm get stable
rvm list known
rvm install 2.1.0

rvm gemset create mountainlion_rails4
gemset created mountainlion_rails4     => /home/bruce/.rvm/gems/ruby-2.0.0-p247@mountainlion_rails4
rvm use ruby-2.0.0-p247@mountainlion_rails4
rvm --ruby-version use 1.9.3@my_app
The second form will create both .ruby-version and .ruby-gemset.

rvm @gemset_name do gem list

rvm gemset copy 1.8.7@rails3 1.9.2-head@rails3

how to upgrade ruby with rvm: rvm get stable; rvm list known (list known rubies); rvm upgrade 1.9.2-p136 1.9.2-p180

#Migrate when there are two versions of ruby
$ rvm migrate 1.8.6-p420 rbx-1.2.3

##Installing mailcatcher with .ruby-version
rvm ruby-2.0.0-p353@billingapp_mailcatcher --ruby-version do gem install mailcatcher
rvm wrapper ruby-2.0.0-p353@billingapp_mailcatcher --no-prefix mailcatcher catchmail