Skip to content

Commit

Permalink
Merge pull request #45 from cgunther/ree-1.8.7-2010.02
Browse files Browse the repository at this point in the history
Support REE 1.8.7-2010.02
  • Loading branch information
josh committed Sep 22, 2011
2 parents c729320 + 9979cc3 commit 733926c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
13 changes: 13 additions & 0 deletions bin/ruby-build
Expand Up @@ -126,6 +126,19 @@ build_package_ruby() {
} >&4 2>&1
}

build_package_ree_installer() {
local options=""
if [[ "Darwin" = "$(uname)" ]]; then
options="--no-tcmalloc"
fi

# Work around install_useful_libraries crash with --dont-install-useful-gems
mkdir -p "$PREFIX_PATH/lib/ruby/gems/1.8/gems"

{ ./installer --auto "$PREFIX_PATH" --dont-install-useful-gems $options
} >&4 2>&1
}

build_package_rbx() {
local package_name="$1"

Expand Down
3 changes: 3 additions & 0 deletions share/ruby-build/ree-1.8.7-2010.02
@@ -0,0 +1,3 @@
use_gcc42_on_lion
install_package "ruby-enterprise-1.8.7-2010.02" "http://files.rubyforge.vm.bytemark.co.uk/emm-ruby/ruby-enterprise-1.8.7-2010.02.tar.gz" ree_installer
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
10 changes: 0 additions & 10 deletions share/ruby-build/ree-1.8.7-2011.03
@@ -1,13 +1,3 @@
build_package_ree_installer() {
local options=""
if [[ "Darwin" = "$(uname)" ]]; then
options="--no-tcmalloc"
fi

{ ./installer --auto "$PREFIX_PATH" --dont-install-useful-gems $options
} >&4 2>&1
}

use_gcc42_on_lion
install_package "ruby-enterprise-1.8.7-2011.03" "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.03.tar.gz" ree_installer
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby

0 comments on commit 733926c

Please sign in to comment.