scripts/gemsets in rvm-0.1.47 vs scripts/gemsets in rvm-1.0.0
- old
+ new
@@ -14,11 +14,11 @@
}
gemset_update() {
if [[ -z "$rvm_ruby_strings" ]]; then
$rvm_scripts_path/log "info" "Running gem update for all rubies and gemsets."
- rvm_ruby_strings="$(\ls "$rvm_gems_path" | grep -v '^\(doc\|cache\|@\|system\)' | \tr '\n' ',')"
+ rvm_ruby_strings="$(\ls "$rvm_gems_path" | \grep -v '^\(doc\|cache\|@\|system\)' | \tr '\n' ',')"
else
$rvm_scripts_path/log "info" "Running gem update for the specified rubies."
fi
export rvm_ruby_strings
$rvm_scripts_path/set "gem" "update"
@@ -373,10 +373,10 @@
}
# Output the user's current gem directory.
gemset_info() {
if [[ "$rvm_user_flag" -eq 1 ]] ; then
- echo $(rvm system ; gem env | grep "\- $HOME" | awk '{print $NF}')
+ echo $(rvm system ; gem env | \grep "\- $HOME" | awk '{print $NF}')
elif [[ "$rvm_system_flag" -eq 1 ]] ; then
echo $(rvm system ; gem env $action system)
elif [[ ! -z "$rvm_ruby_string" ]] ; then
echo $(rvm "$rvm_ruby_string" ; gem env $action)
elif [[ ! -z "$GEM_HOME" ]] ; then