Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (33 sloc) 0.98 kB
ruby18="ruby-1.8.7-p357"
ruby19="ruby-1.9.2-p0"
ruby18_full="${ruby18}@sicuro-gem"
ruby19_full="${ruby19}@sicuro-gem"
HAVE_RUBY18=true
HAVE_RUBY19=true
which "${ruby18}" || HAVE_RUBY18=false
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}"
fi
if [[ -n "$rvm_environments_path" && -s "$rvm_environments_path/${ruby18_full}" ]] ; then
. "$rvm_environments_path/${ruby18_full}"
#else
# rvm --create "${ruby18_full}"
fi
rvm use "${ruby19_full}"
Jump to Line
Something went wrong with that request. Please try again.