scripts/rubygems in rvm-1.0.11 vs scripts/rubygems in rvm-1.0.13
- old
+ new
@@ -4,12 +4,12 @@
result=0
__rvm_become
-rubygems_setup() {
-
+rubygems_setup()
+{
__rvm_warn_on_rubyopt
unset RUBYOPT
if [[ ! -z "$(echo "$rvm_ruby_version" | awk '/^1\.9/')" ]] || [[ ! -z "$(echo $rvm_ruby_interpreter | awk '/^mput/')" ]] ; then
@@ -43,9 +43,10 @@
"${rubygems_dir}/rubygems" "${rubygems_dir}/gauntlet_rubygems.rb"
fi
"$rvm_path/scripts/log" "info" "Installing rubygems dedicated to $rvm_ruby_string..."
+
rvm_rubygems_version="$version"
rvm_gem_package_name="rubygems-$rvm_rubygems_version"
rvm_rubygems_url=$(__rvm_db "rubygems_${rvm_rubygems_version}_url")
rvm_gem_url="$rvm_rubygems_url/$rvm_gem_package_name.tgz"