Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 19 lines (15 sloc) 0.527 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/usr/bin/env bash

ruby_string="ree-1.8.7-2011.03"
gemset_name="potential_friend_finder"

if rvm list strings | grep -q "${ruby_string}" ; then

  rvm use "${ruby_string}@${gemset_name}" --create

  # Complain if bundler isn't installed
  if [[ -z "`gem which bundler 2>&1 | grep -v ERROR`" ]]; then
    echo "You need bundler:"
    echo ""
    echo " gem install bundler"
    echo ""
  fi
else
  echo "${ruby_string} was not found, please run 'rvm install ${ruby_string}' and then cd back into the project directory."
fi
Something went wrong with that request. Please try again.