scripts/gemsets in rvm-1.0.21 vs scripts/gemsets in rvm-1.0.22
- old
+ new
@@ -468,11 +468,11 @@
directory="vendor/gems"
fi
if [[ -n "$rvm_ruby_gem_home" ]] ; then
export GEM_HOME="$rvm_ruby_gem_home"
- export GEM_PATH="$rvm_ruby_gem_home/bin:$rvm_ruby_global_gems_path/bin"
+ export GEM_PATH="$rvm_ruby_gem_home:$rvm_ruby_global_gems_path"
export BUNDLE_PATH="$rvm_ruby_gem_home"
fi
"$rvm_path/scripts/log" "info" \
"Unpacking current environments gemset to ${directory}\n"
@@ -507,11 +507,11 @@
rvm_file_name="${rvm_file_name:-${gems_args// }}"
if [[ -n "$rvm_ruby_gem_home" ]] ; then
export GEM_HOME="$rvm_ruby_gem_home"
- export GEM_PATH="$rvm_ruby_gem_home/bin:$rvm_ruby_global_gems_path/bin"
+ export GEM_PATH="$rvm_ruby_gem_home:$rvm_ruby_global_gems_path"
export BUNDLE_PATH="$rvm_ruby_gem_home"
fi
if [[ -z "$rvm_file_name" ]] ; then
@@ -614,11 +614,12 @@
fi
done < <(awk '/^[^#]+/{print}' "${rvm_file_name}")
else
- "$rvm_path/scripts/log" "error" "${rvm_file_name} does not exist to import from."
+ "$rvm_path/scripts/log" "error" \
+ "${rvm_file_name} does not exist to import from."
fi
}
__rvm_parse_gems_args()
{
@@ -746,10 +747,11 @@
fi
unset -f gem
- __rvm_run "gem.install" "$command" "installing ${gem_name} ${gem_version}..."
+ __rvm_run "gem.install" "$command" \
+ "installing ${gem_name} ${gem_version}..."
result=$?
if [[ $result -eq 0 ]] ; then
"$rvm_path/scripts/log" "info" \