Last Updated: February 25, 2016
·
434
· pwalker

Project rvmrc files!

I took on a new project, and noticed I now need my shell environment to handle Django project with virtualenv, and Rails projects with rvm, and git and all that. After switching to OhMyZsh, I still realized that I needed to type in 3 or 4 commands to load the right ruby version, gemset, and get latest from Github. After exploring the plugins for rvm and ruby in OhMyZsh, I realized I still needed to do this:

rvm --rvmrc --create 1.9.1@projectc

from the link below

to get the default gemset loaded when I enter a directory. Now I to begin working on a ruby project I've set up, I just change the directory, and get latest only if I want to.

https://rvm.io/workflow/rvmrc
https://github.com/robbyrussell/oh-my-zsh