Permalink
Browse files

Added a comment.

  • Loading branch information...
1 parent 69b6813 commit 35ceaa6153d1209e4afdef61e9ade82ac1871bd4 @wayneeseguin wayneeseguin committed Mar 3, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 scripts/gemsets
View
@@ -349,9 +349,11 @@ gemset_empty()
# Migrate gemsets from ruby X to ruby Y
gemset_copy()
{
- unset rvm_gemset_name rvm_ruby_gem_home GEM_HOME GEM_PATH
local source_ruby destination_ruby source_path destination_path
+ # Clear the current environment so that it does not influence this operation.
+ unset rvm_gemset_name rvm_ruby_gem_home GEM_HOME GEM_PATH
+
source_ruby="${args[__array_start]:-""}"
args[$__array_start]="" ; args=(${args[@]})

0 comments on commit 35ceaa6

Please sign in to comment.