Saturday, October 12, 2013

How to work with gemset for any project in Ubuntu

1.) How to create gemset
      rvm gemset create gemset_name

2.) How to delete gemset
      rvm gemset delete gemset_name

3.) How to use gemset without rvmrc
     rvm use ‘gemset fullname from list’

4.) For display gemset list
     rvm gemset lists

How to work with .rvmrc and gemset

1.) Find list of gemsets with this:
     rvm list gemsets

2.) Make .rvmrc file for any project with this:
     vim .rvmrc

3.) Edit .rvmrc file
     Press I for insert in vim editor
     rvm --rvmrc use ‘gemset fullname from list’


Post a Comment