Autotrust your RVM gemsets
Posted on 20 Dec 2011
One of the best features in RVM is having ability to use different gem sets for each project. It allows you to setup ruby env and gems isolation which makes development of different ruby and rails projects way easier.
To enable custom gemset you'll need to create an .rvmrc
file under your application's root path
with the following content:
rvm --create use ruby-1.9.2-p290@YOUR_APP_NAME
This will make RVM use a specific ruby version and a gemset. By default gemsets are not trusted.
To autotrust all .rvmrc
files add this into your user ~/.rvmrc file:
rvm_trust_rvmrcs_flag=1