2 ms·
You can do this automatically with rvm ruby@gemset --create --rvmrc `--create` creates a gemset if it doesn't already exist, and `--rvmrc` makes a .rvmrc
by psadauskas 16y ago
You can do this automatically with
rvm ruby@gemset --create --rvmrc
`--create` creates a gemset if it doesn't already exist, and `--rvmrc` makes a .rvmrc file to automatically switch to that gemset when you cd into the current directory. This makes it easy enough, that I have a gemset per application/project, and then use bundler to install the deps.
- swatermasysk 16y agoProbably just personal preference, but for me, I like to have the .rvmrc file in source control so that I don't have to think about setting it up. The first time I navigate to the directory the gemset is created. Still a good tip. Thanks.