scripts/rvm-install in rvm-0.1.36 vs scripts/rvm-install in rvm-0.1.37
- old
+ new
@@ -165,9 +165,24 @@
done
fi
fi
#
+# Initial Interpreter Gemsets.
+#
+spinner
+mkdir -p "$rvm_gemsets_path"
+for gemset_file in $(cd $install_source_path/gemsets ; find . -iname '*.gems' | sed 's/\.\///') ; do
+ source_path="$install_source_path/gemsets"
+ destination="$rvm_gemsets_path/$gemset_file"
+ destination_path="$(dirname "$destination")"
+ if [[ ! -s "$destination" ]] ; then
+ mkdir -p "$destination_path"
+ cp "$source_path/$gemset_file" "$destination"
+ fi
+done ; unset destination destination_path source_path
+
+#
# Migrate ~/.rvm/ruby-X,jruby-X,... to ~/.rvm/rubies/ for 0.1.0.
#
rvm_rubies_path="${rvm_rubies_path:-"$rvm_path/rubies"}"
mkdir -p "$rvm_rubies_path/"
spinner