.rvmrc in exporter-0.0.3 vs .rvmrc in exporter-0.1.0
- old
+ new
@@ -4,14 +4,14 @@
# development environment upon cd'ing into the directory
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
# Only full ruby name is supported here, for short names use:
# echo "rvm use 2.0.0" > .rvmrc
-environment_id="ruby-2.0.0-p247@gembuilder"
+environment_id="ruby-2.0.0-p247@exporter"
# Uncomment the following lines if you want to verify rvm version per project
-# rvmrc_rvm_version="1.22.3 (stable)" # 1.10.1 seems like a safe start
+# rvmrc_rvm_version="1.22.10 (stable)" # 1.10.1 seems like a safe start
# eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | __rvm_awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
# echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
# return 1
# }
@@ -31,10 +31,10 @@
done
unset __hook
if (( ${rvm_use_flag:=1} >= 2 )) # display only when forced
then
if [[ $- == *i* ]] # check for interactive shells
- then printf "%b" "Using: \E[32m$GEM_HOME\E[0m
+ then printf "%b" "Using: $(tput setaf 2 2>/dev/null)$GEM_HOME$(tput sgr0 2>/dev/null)
" # show the user the ruby and gemset they are using in green
else printf "%b" "Using: $GEM_HOME
" # don't use colors in non-interactive shells
fi
fi