Sha256: a2516ea82d1b14d5b9817180b148ad296e96297e3ddd7620a390f3629e4305e1

Contents?: true

Size: 695 Bytes

Versions: 1

Compression:

Stored size: 695 Bytes

Contents

#!/usr/bin/env bash

ruby_string="ruby-1.9.3-p286"
gemset_name="imagine_cms"

alias rails='bundle exec rails'

if rvm list strings | grep -q "${ruby_string}" ; then
  # Load or create the specified environment
  if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
    && -s "${rvm_path:-$HOME/.rvm}/environments/${ruby_string}@${gemset_name}" ]] ; then
    \. "${rvm_path:-$HOME/.rvm}/environments/${ruby_string}@${gemset_name}"
  else
    rvm --create  "${ruby_string}@${gemset_name}"
  fi
else
  # Notify the user to install the desired interpreter before proceeding.
  echo "${ruby_string} was not found, please run 'rvm install ${ruby_string}' and then cd back into the project directory."
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
imagine_cms-3.0.0.beta9 .rvmrc