Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Let users configure the rubygems version to install for a given inter…

…preter
  • Loading branch information...
commit 761bcfa7d439339a259e9f2935649b225a7c3955 1 parent bd23ec4
@Sutto Sutto authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  scripts/manage
View
3  scripts/manage
@@ -959,7 +959,8 @@ __rvm_rubygems_setup() {
ruby_lib_gem_path="$rvm_ruby_home/lib/ruby/gems/jruby"
else
$rvm_scripts_path/log "info" "Installing rubygems dedicated to $rvm_ruby_string..."
- rvm_rubygems_version=$(__rvm_db "rubygems_version")
+ rvm_rubygems_version="$(__rvm_db "${rvm_ruby_interpreter}_rubygems_version")"
+ rvm_rubygems_version="${rvm_rubygems_version:-"$(__rvm_db "rubygems_version")"}"
rvm_rubygems_url=$(__rvm_db "rubygems_${rvm_rubygems_version}_url")
rvm_gem_package_name="rubygems-$rvm_rubygems_version"
rvm_gem_url="$rvm_rubygems_url/$rvm_gem_package_name.tgz"
Please sign in to comment.
Something went wrong with that request. Please try again.