File tree Expand file tree Collapse file tree 3 files changed +13
-23
lines changed
Expand file tree Collapse file tree 3 files changed +13
-23
lines changed Original file line number Diff line number Diff 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+
129142build_package_rbx () {
130143 local package_name=" $1 "
131144
Original file line number Diff line number Diff line change 1- build_package_ree_installer() {
2- local options=""
3- if [[ "Darwin" = "$(uname)" ]]; then
4- options="--no-tcmalloc"
5- fi
6-
7- # Work around install_useful_libraries crash with --dont-install-useful-gems
8- mkdir -p "$PREFIX_PATH/lib/ruby/gems/1.8/gems"
9-
10- { ./installer --auto "$PREFIX_PATH" --dont-install-useful-gems $options
11- } >&4 2>&1
12- }
13-
141use_gcc42_on_lion
152install_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
163install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
Original file line number Diff line number Diff line change 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-
111use_gcc42_on_lion
122install_package "ruby-enterprise-1.8.7-2011.03" "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.03.tar.gz" ree_installer
133install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
You can’t perform that action at this time.
0 commit comments