Skip to content

Commit 733926c

Browse files
committed
Merge pull request rbenv#45 from cgunther/ree-1.8.7-2010.02
Support REE 1.8.7-2010.02
2 parents c729320 + 9979cc3 commit 733926c

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

bin/ruby-build

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,19 @@ build_package_ruby() {
126126
} >&4 2>&1
127127
}
128128

129+
build_package_ree_installer() {
130+
local options=""
131+
if [[ "Darwin" = "$(uname)" ]]; then
132+
options="--no-tcmalloc"
133+
fi
134+
135+
# Work around install_useful_libraries crash with --dont-install-useful-gems
136+
mkdir -p "$PREFIX_PATH/lib/ruby/gems/1.8/gems"
137+
138+
{ ./installer --auto "$PREFIX_PATH" --dont-install-useful-gems $options
139+
} >&4 2>&1
140+
}
141+
129142
build_package_rbx() {
130143
local package_name="$1"
131144

share/ruby-build/ree-1.8.7-2010.02

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
use_gcc42_on_lion
2+
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
3+
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby

share/ruby-build/ree-1.8.7-2011.03

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
build_package_ree_installer() {
2-
local options=""
3-
if [[ "Darwin" = "$(uname)" ]]; then
4-
options="--no-tcmalloc"
5-
fi
6-
7-
{ ./installer --auto "$PREFIX_PATH" --dont-install-useful-gems $options
8-
} >&4 2>&1
9-
}
10-
111
use_gcc42_on_lion
122
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
133
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby

0 commit comments

Comments
 (0)