Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MacRuby 0.6

  • Loading branch information...
commit d8c93d42c5659c3d5309939b5118a952e160dc8b 1 parent 5d88bd4
@wayneeseguin wayneeseguin authored
Showing with 7 additions and 6 deletions.
  1. +1 −1  config/db
  2. +1 −0  config/md5
  3. +4 −4 scripts/manage
  4. +1 −1  scripts/selector
View
2  config/db
@@ -26,7 +26,7 @@ ruby_1.8.7_patch_level=249
jruby_version=1.5.0.RC1
jruby_repo_url=git://github.com/jruby/jruby.git
jruby_url=http://jruby.org.s3.amazonaws.com/downloads
-macruby_version=0.5
+macruby_version=0.6
macruby_url=http://www.macruby.org/files
macruby_repo_url=git://git.macruby.org/macruby/MacRuby.git
macruby_nightly_url=http://www.macruby.org/files/nightlies/macruby_nightly-latest.pkg
View
1  config/md5
@@ -23,6 +23,7 @@ ruby-enterprise-1.8.7-2009.10.tar.gz=3727eef7b6b1b2f31db7d091328d966e
ruby-enterprise-1.8.7-20090928.tar.gz=ae00018ce89d95419dfde370fcd485ac
rubygems-1.3.5.tgz=6e317335898e73beab15623cdd5f8cff
MacRuby%200.5.zip=675454a8c7bc19d606d90a726e08427c
+MacRuby%200.6.zip=a80afd3700c88cf95c539fc63b272faf
jruby-bin-1.3.1.tar.gz=4a95db8fc93ed7219663fbede98b6117
jruby-bin-1.4.0.tar.gz=f37322c18e9134e91e064aebb4baa4c7
jruby-bin-1.5.0.RC1.tar.gz=47b4ca2a21659d36a2775ade0a2534c4
View
8 scripts/manage
@@ -141,16 +141,16 @@ __rvm_install_ruby() {
__rvm_run "macruby/extract" "sudo /usr/sbin/installer -pkg '$rvm_archives_path/macruby_nightly.pkg' -target '/'"
mkdir -p "$rvm_ruby_home/bin"
else
- macruby_path="/Library/Frameworks/MacRuby.framework/Versions/0.5/usr/bin"
+ macruby_path="/Library/Frameworks/MacRuby.framework/Versions/${rvm_ruby_version}/usr/bin"
# TODO: Separated nightly from head.
- $rvm_scripts_path/log "info" "Retrieving MacRuby 0.5 ..."
+ $rvm_scripts_path/log "info" "Retrieving MacRuby ${rvm_ruby_version} ..."
$rvm_scripts_path/fetch "$rvm_url"
result=$? ; if [[ "$result" -gt 0 ]] ; then
$rvm_scripts_path/log "error" "There has been an error while trying to fetch the source. Aborting the installation." ; __rvm_pushpop ; return $result
fi
mkdir -p $rvm_ruby_src_path
- unzip -o -j "$rvm_archives_path/$rvm_ruby_package_file" "MacRuby 0.5/MacRuby 0.5.pkg" -d "$rvm_ruby_src_path"
- mv "$rvm_ruby_src_path/MacRuby 0.5.pkg" "$rvm_ruby_src_path/$rvm_ruby_string.pkg"
+ unzip -o -j "$rvm_archives_path/$rvm_ruby_package_file" "MacRuby ${rvm_ruby_version}/MacRuby ${rvm_ruby_version}.pkg" -d "$rvm_ruby_src_path"
+ mv "$rvm_ruby_src_path/MacRuby ${rvm_ruby_version}.pkg" "$rvm_ruby_src_path/$rvm_ruby_string.pkg"
__rvm_run "macruby/extract" "sudo /usr/sbin/installer -pkg '$rvm_ruby_src_path/$rvm_ruby_string.pkg' -target '/'"
mkdir -p "$rvm_ruby_home/bin"
fi
View
2  scripts/selector
@@ -31,7 +31,7 @@ __rvm_select() {
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_name="MacRuby%20${rvm_ruby_version}.zip"
rvm_ruby_package_file="$rvm_ruby_package_name"
rvm_url="$rvm_url/$rvm_ruby_package_name"
fi
Please sign in to comment.
Something went wrong with that request. Please try again.