RVM: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 18: | Line 18: | ||
May need to source <code>/etc/profile.d/rvm.sh</code> to get things working.  | May need to source <code>/etc/profile.d/rvm.sh</code> to get things working.  | ||
== Project Setup and Best Practices ==  | |||
<pre>  | |||
cd ~/projects/my_project/  | |||
rvm --rvmrc --create 1.9.1@my_project  | |||
</pre>  | |||
Revision as of 18:05, 10 July 2012
Ruby Version Manager
http://cheat.errtheblog.com/s/rvm/
https://rvm.io//rvm/best-practices/
To create a new gemset:
rvm ruby-1.9.3-p194@rails2314 --create
To switch to a particular gemset:
rvm gemset use rails2314
Now you can use gem to install the needed gems.
May need to source /etc/profile.d/rvm.sh to get things working.
Project Setup and Best Practices
cd ~/projects/my_project/ rvm --rvmrc --create 1.9.1@my_project