Created
June 2, 2011 14:02
-
-
Save casualjim/1004502 to your computer and use it in GitHub Desktop.
baseline rvmrc file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export RUBYOPT="rubygems" | |
rvm_install_on_use_flag=1 | |
if [ -z $(rvm gemset list | grep virtmachines) 2> /dev/null ]; then | |
rvm ruby-1.8.7 | |
rvm gemset create virtmachines | |
fi | |
rvm ruby-1.8.7@virtmachines | |
if ! command -v vagrant ; then | |
[ ! $(command -v bundle) ] && gem install bundler | |
if [ ! -f ./Gemfile ]; then | |
bundle init | |
echo "gem \"vagrant\"" >> ./Gemfile | |
fi | |
bundle install | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment