Using named gemsets with rvm


You want to be able to use different gems/rails version for your application after installing the latest rails version, without having to use bundle exec.



You can use the named gemsets with rvm.

More instructions are here:

so you can install two gemsets for example ruby-1.9.3-p0@rails3_0_11 and another with ruby-1.9.3-p0@rails3_2_1

you could then do :

you could then also use some aliases in your ~/.bashrc file to be able to use the gemsets by using only one command as for example in ($ rvm3011):

Could not open library ‘’: cannot open shared object file: No such file or directory.


If you have setup guard with your Rails project and you are trying to run it in an (K)Ubuntu installation you get the following message:


Install the missing library with the following: