scripts/gemsets in rvm-1.0.22 vs scripts/gemsets in rvm-1.0.23
- old
+ new
@@ -469,11 +469,10 @@
fi
if [[ -n "$rvm_ruby_gem_home" ]] ; then
export GEM_HOME="$rvm_ruby_gem_home"
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"
@@ -508,11 +507,10 @@
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:$rvm_ruby_global_gems_path"
- export BUNDLE_PATH="$rvm_ruby_gem_home"
fi
if [[ -z "$rvm_file_name" ]] ; then
if [[ -n "$rvm_gemset_name" ]] ; then
@@ -558,11 +556,10 @@
unset -f gem
if [[ -n "${rvm_ruby_gem_home:-""}" ]] ; then
export GEM_HOME="$rvm_ruby_gem_home"
export GEM_PATH="$rvm_ruby_gem_home"
- export BUNDLE_PATH="$rvm_ruby_gem_home"
else
rvm_ruby_gem_home=${GEM_HOME:-$(gem env gemdir)}
fi
#rvm_gemset_name="${gems_args//.gem*/}"
@@ -736,10 +733,10 @@
# TODO: Set vars if fourth field is non-empty (means that there are conditional statements to execute in the gem install line.
if [[ "rvm_make_flags_flag" -eq 1 ]] ; then __rvm_make_flags ; fi
if [[ -n "$rvm_ruby_gem_home" && "$rvm_ruby_gem_home" != "${rvm_gems_path:-"$rvm_path/gems"}" ]] ; then
- command="GEM_HOME='$rvm_ruby_gem_home' GEM_PATH='$rvm_ruby_gem_home' BUNDLE_PATH='${rvm_ruby_gem_home}' $gem_prefix gem install $gems_args $rvm_gem_options $gem_postfix $vars"
+ command="GEM_HOME='$rvm_ruby_gem_home' GEM_PATH='$rvm_ruby_gem_home' $gem_prefix gem install $gems_args $rvm_gem_options $gem_postfix $vars"
else
#--ignore-dependencies
command="$gem_prefix gem install --ignore-dependencies $gems_args $rvm_gem_options -q $gem $gem_postfix $vars"