Sha256: 201c3c0e48588e78cd1cf0ada05a8f9370f1a084c8504935c0192471efc8967d

Contents?: true

Size: 908 Bytes

Versions: 34

Compression:

Stored size: 908 Bytes

Contents

#!/usr/bin/env bash

ruby_string="ruby-1.9.2"
gemset_name="noodall-ui"

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

  (
    # Ensure that Bundler is installed, install it if it is not.
    if ! command -v bundle ; then
      gem install bundler
    fi

    # Bundle while redcing excess noise.
    bundle | grep -v 'Using' | grep -v 'complete' | sed '/^$/d'
  )&

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

34 entries across 34 versions & 1 rubygems

Version Path
noodall-ui-0.5.15 .rvmrc
noodall-ui-0.5.14 .rvmrc
noodall-ui-0.5.13 .rvmrc
noodall-ui-0.5.12 .rvmrc
noodall-ui-0.5.11 .rvmrc
noodall-ui-0.4.11 .rvmrc
noodall-ui-0.4.10 .rvmrc
noodall-ui-0.5.10 .rvmrc
noodall-ui-0.5.9 .rvmrc
noodall-ui-0.4.9 .rvmrc
noodall-ui-0.5.8 .rvmrc
noodall-ui-0.4.8 .rvmrc
noodall-ui-0.4.7 .rvmrc
noodall-ui-0.5.7 .rvmrc
noodall-ui-0.5.6 .rvmrc
noodall-ui-0.5.5 .rvmrc
noodall-ui-0.5.4 .rvmrc
noodall-ui-0.5.3 .rvmrc
noodall-ui-0.5.2 .rvmrc
noodall-ui-0.5.1 .rvmrc