File tree Expand file tree Collapse file tree 8 files changed +41
-37
lines changed
Expand file tree Collapse file tree 8 files changed +41
-37
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,17 @@ ruby-build provides an `rbenv-install` command that shortens this to:
3737
3838### Version History
3939
40+ #### 20110928
41+
42+ * ruby-build now uses the ` --with-gcc ` configure flag on OS X Lion.
43+ * Added definitions for REE 1.8.7-2010.02 and 1.8.6-2009.06.
44+ * Modified ` rbenv-install ` to run ` rbenv rehash ` after installation.
45+ * Added a Ruby 1.9.3-rc1 definition.
46+ * Updated the JRuby defintions to install the ` jruby-launcher ` gem.
47+ * Updated the rbx-2.0.0 definition to point to the master branch.
48+ * Added a jruby-1.7.0-dev definition.
49+ * Added a Ruby 1.9.4-dev definition.
50+
4051#### 20110914
4152
4253* Added an rbx-2.0.0-dev definition for Rubinius 2.0.0 from git.
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- RUBY_BUILD_VERSION=" 20110914 "
3+ RUBY_BUILD_VERSION=" 20110928 "
44
55set -E
66exec 3< & 2 # preserve original stderr at fd 3
@@ -131,7 +131,7 @@ build_package_ree_installer() {
131131 if [[ " Darwin" = " $( uname) " ]]; then
132132 options=" --no-tcmalloc"
133133 fi
134-
134+
135135 # Work around install_useful_libraries crash with --dont-install-useful-gems
136136 mkdir -p " $PREFIX_PATH /lib/ruby/gems/1.8/gems"
137137
@@ -147,6 +147,25 @@ build_package_rbx() {
147147 } >&4 2>&1
148148}
149149
150+ build_package_jruby () {
151+ build_package_copy
152+ cd " ${PREFIX_PATH} /bin"
153+ ln -fs jruby ruby
154+ install_jruby_launcher
155+ remove_windows_files
156+ }
157+
158+ install_jruby_launcher () {
159+ cd " ${PREFIX_PATH} /bin"
160+ { ./ruby gem install jruby-launcher
161+ } >&4 2>&1
162+ }
163+
164+ remove_windows_files () {
165+ cd " $PREFIX_PATH "
166+ rm -f bin/* .exe bin/* .dll bin/* .bat bin/jruby.sh
167+ }
168+
150169build_package_copy () {
151170 cp -R . " $PREFIX_PATH "
152171}
Original file line number Diff line number Diff line change 1+ use_gcc42_on_lion
2+ install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz"
3+ install_git "ruby-1.9.4-dev" "https://github.com/ruby/ruby.git" "trunk" autoconf standard
4+ install_package "rubygems-1.8.10" "http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz" ruby
Original file line number Diff line number Diff line change 1- after_install_package() {
2- shim_jruby
3- remove_windows_files
4- }
5-
6- shim_jruby() {
7- cd "${PREFIX_PATH}/bin"
8- sed -i "" 's/^#!\/bin\/bash/#!\/usr\/bin\/env bash/' jruby
9- ln -fs jruby ruby
10- }
11-
12- remove_windows_files() {
13- cd "$PREFIX_PATH"
14- rm -f bin/*.exe bin/*.dll bin/*.bat bin/jruby.sh
15- }
16-
17- install_package "jruby-1.6.3" "http://jruby.org.s3.amazonaws.com/downloads/1.6.3/jruby-bin-1.6.3.tar.gz" copy
1+ install_package "jruby-1.6.3" "http://jruby.org.s3.amazonaws.com/downloads/1.6.3/jruby-bin-1.6.3.tar.gz" jruby
182install_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- after_install_package() {
2- shim_jruby
3- remove_windows_files
4- }
5-
6- shim_jruby() {
7- cd "${PREFIX_PATH}/bin"
8- sed -i "" 's/^#!\/bin\/bash/#!\/usr\/bin\/env bash/' jruby
9- ln -fs jruby ruby
10- }
11-
12- remove_windows_files() {
13- cd "$PREFIX_PATH"
14- rm -f bin/*.exe bin/*.dll bin/*.bat bin/jruby.sh
15- }
16-
17- install_package "jruby-1.6.4" "http://jruby.org.s3.amazonaws.com/downloads/1.6.4/jruby-bin-1.6.4.tar.gz" copy
1+ install_package "jruby-1.6.4" "http://jruby.org.s3.amazonaws.com/downloads/1.6.4/jruby-bin-1.6.4.tar.gz" jruby
182install_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+ install_package "jruby-1.7.0.dev" "http://ci.jruby.org/snapshots/jruby-bin-1.7.0.dev.tar.gz" jruby
2+ install_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- install_git "rubinius-2.0.0-dev" "https://github.com/rubinius/rubinius.git" "2.0.0pre " rbx
1+ install_git "rubinius-2.0.0-dev" "https://github.com/rubinius/rubinius.git" "master " rbx
22install_package "rubygems-1.8.10" "http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz" ruby
File renamed without changes.
You can’t perform that action at this time.
0 commit comments