-
Notifications
You must be signed in to change notification settings - Fork 96
Using rvm for different ruby environments
Gaute Hope 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:
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 install ncursesw-sup
gem install trollop
gem install gettext
gem install rmail
gem install lockfile
gem install mime-types
gem install xapian-full-alaveteli
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