Sha256: f9ad68617407eae9e8db524e1bec071d54d0036a8e2c0cd15c3fcd76f318c6c1

Contents?: true

Size: 625 Bytes

Versions: 1

Compression:

Stored size: 625 Bytes

Contents

#!/usr/bin/env bash

environment_id="ruby-1.9.2-p290@pivot_table"

if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
  && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
then
  \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"

  if [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]]
  then
    . "${rvm_path:-$HOME/.rvm}/hooks/after_use"
  fi
  echo "RVM environment: ${environment_id}"
else
  # If the environment file has not yet been created, use the RVM CLI to select.
  if ! rvm --create  "$environment_id"
  then
    echo "Failed to create RVM environment '${environment_id}'."
    exit 1
  fi
fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pivot_table-0.1.1 .rvmrc