Skip to content
This repository has been archived by the owner on Dec 29, 2018. It is now read-only.

Commit

Permalink
I can see no reason this shouldn't work correctly. That doesn't mean …
Browse files Browse the repository at this point in the history
…much to RVM, though.
  • Loading branch information
Nick Markwell committed Apr 18, 2012
1 parent c85241a commit 5700683
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .rvmrc
Expand Up @@ -12,27 +12,31 @@ which "${ruby19}" || HAVE_RUBY19=false

if ! $HAVE_RUBY18; then
rvm install "${ruby18_full}"
rvm gemset create "${ruby18_full}"
rvm use "${ruby18_full}"
gem install bundler --version='~> 1.0.0'
bundle install
fi

if ! $HAVE_RUBY19; then
rvm install "${ruby19_full}"
rvm gemset create "${ruby19_full}"
rvm use "${ruby19_full}"
gem install bundler --version='~> 1.0.0'
bundle install
fi


if [[ -n "$rvm_environments_path" && -s "$rvm_environments_path/${ruby19_full}" ]] ; then
. "$rvm_environments_path/${ruby19_full}"
else
rvm --create "${ruby19_full}"
#else
# rvm --create "${ruby19_full}"
fi

if [[ -n "$rvm_environments_path" && -s "$rvm_environments_path/${ruby18_full}" ]] ; then
. "$rvm_environments_path/${ruby18_full}"
else
rvm --create "${ruby18_full}"
#else
# rvm --create "${ruby18_full}"
fi

rvm use "${ruby19_full}"

0 comments on commit 5700683

Please sign in to comment.