bash/rvm in rvm-0.0.23 vs bash/rvm in rvm-0.0.24
- old
+ new
@@ -1,11 +1,11 @@
#!/bin/bash
rvm_meta_author="Wayne E. Seguin"
rvm_meta_author_email="wayneeseguin@gmail.com"
rvm_meta_website="http://rvm.beginrescueend.com/"
-rvm_meta_version="0.0.23"
+rvm_meta_version="0.0.24"
rvm_meta_updated="2009.08.25"
#
# License: See LICENSE
#
@@ -154,17 +154,17 @@
1.8.7) rvm_major="1.8" ; rvm_minor="7" ; rvm_patch_level="${2:-174}" ;;
*) rvm-log-fail "Ruby version '$rvm_version' is unknown."
esac
rvm_package_name="ruby-$rvm_major.$rvm_minor-p$rvm_patch_level"
- rvm_url="ftp://ftp.ruby-lang.org/pub/ruby/$major/$rvm_package_name.tar.gz"
+ rvm_url="ftp://ftp.ruby-lang.org/pub/ruby/$rvm_major/$rvm_package_name.tar.gz"
rvm-log-info "Installing Ruby from source to: $rvm_install_path/$rvm_package_name"
mkdir -p $rvm_log_path/$rvm_package_name
pushd $rvm_source_path > /dev/null
- if [ -d $rvm_package_name ] ; then
- cd $rvm_package_name
+ if [ -d $rvm_source_path/$rvm_package_name ] ; then
+ cd $rvm_source_path/$rvm_package_name
else
if [ ! -f "$rvm_archives_path/$rvm_package_name.tar.gz" ] ; then
rvm-log-info "\tDownloading $rvm_package_name, this may take a while depending on your connection..."
rvm-curl $rvm_url
fi