Skip to content

Using rvm for different ruby environments

Whyme.Lyu edited this page May 7, 2013 · 9 revisions

rvm can be used to easily set up different ruby environments for testing and running sup and gemsets.

Installation

curl -L https://get.rvm.io | bash -s stable --autolibs=enabled --ruby=1.9.3
# Follow whatever instructions rvm prints later.
# For a normal user it could probably be this:
source ~/.rvm/scripts/rvm

Creating gemset and alias for easy development

rvm gemset create sup-development
rvm alias create sup 1.9.3@sup-development
rvm use sup

Now you're ready to hack on sup.

Clone this wiki locally