Permalink
Browse files

Fix build of macruby-nightly

1. The version macruby-nightly is 0.8 now.
2. The `mv` used to move the pkg into `/` (the root directory).
  • Loading branch information...
1 parent 262c172 commit 92b7afdb7f36b40f5376711cf7e27e7b044d1b8f @tianyicui tianyicui committed with wayneeseguin Nov 17, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/manage
View
@@ -325,7 +325,7 @@ __rvm_install_ruby()
fi
elif [[ "nightly" = "$rvm_ruby_version" ]] ; then
- macruby_path="/Library/Frameworks/MacRuby.framework/Versions/0.6/usr/bin"
+ macruby_path="/Library/Frameworks/MacRuby.framework/Versions/0.8/usr/bin"
# TODO: Separated nightly from head.
"$rvm_path/scripts/log" "info" "Retrieving the latest nightly macruby build..."
@@ -341,7 +341,7 @@ __rvm_install_ruby()
fi
mv "${rvm_archives_path:-"$rvm_path/archives"}/macruby_nightly-latest.pkg" \
- "$rvm_archives_path/macruby_nightly.pkg"
+ "${rvm_archives_path:-"$rvm_path/archives"}/macruby_nightly.pkg"
__rvm_run "macruby/extract" \
"sudo /usr/sbin/installer -pkg '${rvm_archives_path:-"$rvm_path/archives"}/macruby_nightly.pkg' -target '/'"

0 comments on commit 92b7afd

Please sign in to comment.