Skip to content

Using rvm for different ruby environments

gauteh edited this page Apr 26, 2013 · 9 revisions

RVM

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

Installation and usage

Use installation script by wayneeseguin:

bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
rvm reload
rvm install 1.9.3
rvm 1.9.3
rvm gemset create sup-develop
rvm gemset use sup-develop
gem intall ncursesw
gem intall trollop
gem intall gettext
gem intall rmail
gem intall lockfile
gem intall mime-types
gem intall xapian-ruby
git clone git://github.com/sup-heliotrope/sup.git
cd sup
ruby -Ilib bin/sup

or just do rvm 1.9.3 do gem install pkg/sup-999.gem to get dependencies automatically.

add ~/.rvm/bin to your PATH for easy access.

Source: mailing list post by Michael Stapelberg, http://rubyforge.org/pipermail/sup-devel/2011-November/001256.html

Clone this wiki locally