Sha256: e6108cc839d9b73323ebf982b6e5b52bfb926866c49c7c2f521b4b272b419e11

Contents?: true

Size: 853 Bytes

Versions: 12

Compression:

Stored size: 853 Bytes

Contents

#!/usr/bin/env bash

# adapted from: http://rvm.beginrescueend.com/workflow/rvmrc/

ruby_string="1.9.2"
gemset_name="medea"

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

#turn on the prompt in PS1
#RVM prompt
if [ -z "$RVM_PROMPT" ]
then
  RVM_PROMPT=true
  PS1="[\$(/usr/local/bin/rvm-prompt v g)] $PS1"
fi

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
medea-0.7.2 .rvmrc
medea-0.7.1 .rvmrc
medea-0.7.0 .rvmrc
medea-0.6.9 .rvmrc
medea-0.6.8 .rvmrc
medea-0.6.7 .rvmrc
medea-0.6.6 .rvmrc
medea-0.6.5 .rvmrc
medea-0.6.4 .rvmrc
medea-0.6.3 .rvmrc
medea-0.6.1 .rvmrc
medea-0.6.0 .rvmrc