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
Written by Peter Walker
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#