# HG changeset patch # User Mahlon E. Smith # Date 1504124642 25200 # Node ID 1d4b6d1449ede125eb24d8541d3e262ab522b092 # Parent 69f2ba4d4d93cc61be6789964722d38fe9930629 Convert to .ruby- files. diff -r 69f2ba4d4d93 -r 1d4b6d1449ed .rvmrc --- a/.rvmrc Wed Aug 30 13:18:26 2017 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -#!/usr/bin/env bash - -environment_id="ruby-2.3@arborist-fping" - -if [[ -d "${rvm_path:-$HOME/.rvm}/environments" - && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]] -then - \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id" - for __hook in "${rvm_path:-$HOME/.rvm}/hooks/after_use"* - do - if [[ -f "${__hook}" && -x "${__hook}" && -s "${__hook}" ]] - then \. "${__hook}" || true - fi - done - unset __hook - if (( ${rvm_use_flag:=1} >= 2 )) # display only when forced - then - if [[ $- == *i* ]] # check for interactive shells - then printf "%b" "Using: $(tput setaf 2 2>/dev/null)$GEM_HOME$(tput sgr0 2>/dev/null)\n" # show the user the ruby and gemset they are using in green - else printf "%b" "Using: $GEM_HOME\n" # don't use colors in non-interactive shells - fi - fi -else - # If the environment file has not yet been created, use the RVM CLI to select. - rvm --create "$environment_id" || { - echo "Failed to create RVM environment '${environment_id}'." - return 1 - } -fi