Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

simplifying .rvmrc

  • Loading branch information...
commit 9f67fddcdf03a0e8583ae883672d508b1a54b1af 1 parent 323c5c0
Ryan Bates authored
Showing with 1 addition and 23 deletions.
  1. +1 −23 .rvmrc
24 .rvmrc
View
@@ -1,23 +1 @@
-#!/usr/bin/env bash
-
-# adapted from: http://rvm.beginrescueend.com/workflow/rvmrc/
-
-ruby_string="1.9.2"
-gemset_name="nifty-generators"
-
-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
+rvm use 1.9.2@nifty-generators --create
Please sign in to comment.
Something went wrong with that request. Please try again.