a gemset per project shortcut

Posted on

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.

Leave a Reply

Your email address will not be published.