a gemset per project shortcut
A function I defined in my zsh shell to create a new project and gemset:
function newproj() {
mkdir $1; cd $1; rvm use --create --ruby-version @$1
}
it will create the project directory, cd into it and create the gemset using the current ruby version you are on.
Written by antonio lorusso
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#