scripts/selector in rvm-0.1.8 vs scripts/selector in rvm-0.1.9
- old
+ new
@@ -22,18 +22,19 @@
rvm_ruby_revision="head"
__rvm_db "macruby_repo_url" "rvm_ruby_repo_url"
rvm_url="$rvm_ruby_repo_url"
rvm_ruby_string="${rvm_ruby_interpreter}-head"
elif [[ "nightly" = "$rvm_ruby_version" ]] ; then
- rvm_url="http://macruby.icoretech.org/latest"
+ __rvm_db "macruby_nightly_url" "rvm_url"
rvm_ruby_string="${rvm_ruby_interpreter}-${rvm_ruby_version}"
rvm_ruby_package_name="${rvm_ruby_interpreter}_nightly-${rvm_ruby_version}"
rvm_ruby_package_file="$rvm_ruby_package_name"
else
__rvm_db "macruby_version" "rvm_ruby_version"
+ __rvm_db "macruby_url" "rvm_url"
rvm_ruby_package_name="MacRuby%200.5.zip"
rvm_ruby_package_file="$rvm_ruby_package_name"
- rvm_url="http://www.macruby.org/files/$rvm_ruby_package_name"
+ rvm_url="$rvm_url/$rvm_ruby_package_name"
fi
unset rvm_ruby_patch_level
else
$rvm_scripts_path/log "fail" "MacRuby can only be installed on a Darwin OS."