mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-01 14:44:48 +01:00
Merge branch 'master' into binary-packages
This commit is contained in:
commit
c152a226e6
8 changed files with 41 additions and 37 deletions
11
README.md
11
README.md
|
@ -37,6 +37,17 @@ ruby-build provides an `rbenv-install` command that shortens this to:
|
||||||
|
|
||||||
### Version History
|
### Version History
|
||||||
|
|
||||||
|
#### 20110928
|
||||||
|
|
||||||
|
* ruby-build now uses the `--with-gcc` configure flag on OS X Lion.
|
||||||
|
* Added definitions for REE 1.8.7-2010.02 and 1.8.6-2009.06.
|
||||||
|
* Modified `rbenv-install` to run `rbenv rehash` after installation.
|
||||||
|
* Added a Ruby 1.9.3-rc1 definition.
|
||||||
|
* Updated the JRuby defintions to install the `jruby-launcher` gem.
|
||||||
|
* Updated the rbx-2.0.0 definition to point to the master branch.
|
||||||
|
* Added a jruby-1.7.0-dev definition.
|
||||||
|
* Added a Ruby 1.9.4-dev definition.
|
||||||
|
|
||||||
#### 20110914
|
#### 20110914
|
||||||
|
|
||||||
* Added an rbx-2.0.0-dev definition for Rubinius 2.0.0 from git.
|
* Added an rbx-2.0.0-dev definition for Rubinius 2.0.0 from git.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
RUBY_BUILD_VERSION="20110914"
|
RUBY_BUILD_VERSION="20110928"
|
||||||
|
|
||||||
set -E
|
set -E
|
||||||
exec 3<&2 # preserve original stderr at fd 3
|
exec 3<&2 # preserve original stderr at fd 3
|
||||||
|
@ -131,7 +131,7 @@ build_package_ree_installer() {
|
||||||
if [[ "Darwin" = "$(uname)" ]]; then
|
if [[ "Darwin" = "$(uname)" ]]; then
|
||||||
options="--no-tcmalloc"
|
options="--no-tcmalloc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Work around install_useful_libraries crash with --dont-install-useful-gems
|
# Work around install_useful_libraries crash with --dont-install-useful-gems
|
||||||
mkdir -p "$PREFIX_PATH/lib/ruby/gems/1.8/gems"
|
mkdir -p "$PREFIX_PATH/lib/ruby/gems/1.8/gems"
|
||||||
|
|
||||||
|
@ -147,6 +147,25 @@ build_package_rbx() {
|
||||||
} >&4 2>&1
|
} >&4 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build_package_jruby() {
|
||||||
|
build_package_copy
|
||||||
|
cd "${PREFIX_PATH}/bin"
|
||||||
|
ln -fs jruby ruby
|
||||||
|
install_jruby_launcher
|
||||||
|
remove_windows_files
|
||||||
|
}
|
||||||
|
|
||||||
|
install_jruby_launcher() {
|
||||||
|
cd "${PREFIX_PATH}/bin"
|
||||||
|
{ ./ruby gem install jruby-launcher
|
||||||
|
} >&4 2>&1
|
||||||
|
}
|
||||||
|
|
||||||
|
remove_windows_files() {
|
||||||
|
cd "$PREFIX_PATH"
|
||||||
|
rm -f bin/*.exe bin/*.dll bin/*.bat bin/jruby.sh
|
||||||
|
}
|
||||||
|
|
||||||
build_package_copy() {
|
build_package_copy() {
|
||||||
cp -R . "$PREFIX_PATH"
|
cp -R . "$PREFIX_PATH"
|
||||||
}
|
}
|
||||||
|
|
4
share/ruby-build/1.9.4-dev
Normal file
4
share/ruby-build/1.9.4-dev
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
use_gcc42_on_lion
|
||||||
|
install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz"
|
||||||
|
install_git "ruby-1.9.4-dev" "https://github.com/ruby/ruby.git" "trunk" autoconf standard
|
||||||
|
install_package "rubygems-1.8.10" "http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz" ruby
|
|
@ -1,18 +1,2 @@
|
||||||
after_install_package() {
|
install_package "jruby-1.6.3" "http://jruby.org.s3.amazonaws.com/downloads/1.6.3/jruby-bin-1.6.3.tar.gz" jruby
|
||||||
shim_jruby
|
|
||||||
remove_windows_files
|
|
||||||
}
|
|
||||||
|
|
||||||
shim_jruby() {
|
|
||||||
cd "${PREFIX_PATH}/bin"
|
|
||||||
sed -i "" 's/^#!\/bin\/bash/#!\/usr\/bin\/env bash/' jruby
|
|
||||||
ln -fs jruby ruby
|
|
||||||
}
|
|
||||||
|
|
||||||
remove_windows_files() {
|
|
||||||
cd "$PREFIX_PATH"
|
|
||||||
rm -f bin/*.exe bin/*.dll bin/*.bat bin/jruby.sh
|
|
||||||
}
|
|
||||||
|
|
||||||
install_package "jruby-1.6.3" "http://jruby.org.s3.amazonaws.com/downloads/1.6.3/jruby-bin-1.6.3.tar.gz" copy
|
|
||||||
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
|
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
|
||||||
|
|
|
@ -1,18 +1,2 @@
|
||||||
after_install_package() {
|
install_package "jruby-1.6.4" "http://jruby.org.s3.amazonaws.com/downloads/1.6.4/jruby-bin-1.6.4.tar.gz" jruby
|
||||||
shim_jruby
|
|
||||||
remove_windows_files
|
|
||||||
}
|
|
||||||
|
|
||||||
shim_jruby() {
|
|
||||||
cd "${PREFIX_PATH}/bin"
|
|
||||||
sed -i "" 's/^#!\/bin\/bash/#!\/usr\/bin\/env bash/' jruby
|
|
||||||
ln -fs jruby ruby
|
|
||||||
}
|
|
||||||
|
|
||||||
remove_windows_files() {
|
|
||||||
cd "$PREFIX_PATH"
|
|
||||||
rm -f bin/*.exe bin/*.dll bin/*.bat bin/jruby.sh
|
|
||||||
}
|
|
||||||
|
|
||||||
install_package "jruby-1.6.4" "http://jruby.org.s3.amazonaws.com/downloads/1.6.4/jruby-bin-1.6.4.tar.gz" copy
|
|
||||||
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
|
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
|
||||||
|
|
2
share/ruby-build/jruby-1.7.0-dev
Normal file
2
share/ruby-build/jruby-1.7.0-dev
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
install_package "jruby-1.7.0.dev" "http://ci.jruby.org/snapshots/jruby-bin-1.7.0.dev.tar.gz" jruby
|
||||||
|
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby
|
|
@ -1,2 +1,2 @@
|
||||||
install_git "rubinius-2.0.0-dev" "https://github.com/rubinius/rubinius.git" "2.0.0pre" rbx
|
install_git "rubinius-2.0.0-dev" "https://github.com/rubinius/rubinius.git" "master" rbx
|
||||||
install_package "rubygems-1.8.10" "http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz" ruby
|
install_package "rubygems-1.8.10" "http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz" ruby
|
||||||
|
|
Loading…
Reference in a new issue