scripts/selector in rvm-0.0.72 vs scripts/selector in rvm-0.0.73
- old
+ new
@@ -55,19 +55,14 @@
if [[ "$rvm_head_flag" -eq 1 ]] ; then
rvm_ruby_version="head"
rvm_ruby_string="jruby-head"
rvm_ruby_repo_url="${rvm_ruby_repo_url:-$(__rvm_db "jruby_repo_url")}"
rvm_url="${rvm_ruby_repo_url:-$(__rvm_db "jruby_repo_url")}"
- elif match "$rvm_ruby_version" "^1.4" ; then
- rvm_url="http://jruby.kenai.com/downloads/$rvm_ruby_interpreter/$rvm_ruby_version/$rvm_package_file.tar.gz"
- rvm_ruby_version="1.4.0RC3"
- rvm_ruby_string="jruby-1.4.0RC3"
- rvm_package_file="$rvm_ruby_interpreter-bin-${rvm_ruby_version}"
else
rvm_ruby_version="${rvm_ruby_version:-"$(__rvm_db "jruby_version")"}"
- rvm_url="http://jruby.kenai.com/downloads/$rvm_ruby_interpreter/$rvm_ruby_version/$rvm_package_file.tar.gz"
- rvm_package_file="$rvm_ruby_interpreter-bin-$rvm_ruby_version"
+ rvm_package_file="${rvm_ruby_interpreter}-bin-${rvm_ruby_version}"
rvm_ruby_string="${rvm_ruby_interpreter}-${rvm_ruby_version}"
+ rvm_url="http://jruby.kenai.com/downloads/${rvm_ruby_version}/${rvm_package_file}.tar.gz"
fi
alias jruby_ng="jruby --ng"
alias jruby_ng_server="jruby --ng-server"
;;