Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (19 sloc) 691 Bytes
# use the global gemset in order to check for and install bundler, since we
# don't need it to be different for different projects
rvm use $PROJECT_RUBY@global --create --install
echo -n "Checking if bundler gem is installed... "
if `ruby -rubygems -e "gem 'bundler'" &>/dev/null`; then
echo "Yup, good to go."
echo "Nope. Doing that now."
gem install bundler
# now use the gemset for this project and check the bundle
bundle check || bundle install --binstubs
export PATH=$PWD/bin:$PATH
if [ `uname` = 'Darwin' ]; then
# work around an issue with macports openssl
export RUBYOPT='-r openssl'
Something went wrong with that request. Please try again.