forked from railscasts/411-performance-testing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruby-1.9.3-p125-gcdata
More file actions
18 lines (14 loc) · 792 Bytes
/
ruby-1.9.3-p125-gcdata
File metadata and controls
18 lines (14 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# from https://github.com/sstephenson/ruby-build/pull/327
[ -n "$CC" ] || export CC=cc
before_install_package() {
if [ "$1" = "ruby-1.9.3-p125" ]
then
local patch_url="https://raw.github.com/wayneeseguin/rvm/master/patches/ruby/1.9.3/p125/gcdata.patch"
echo "Applying garbage collection data patch..."
echo "-> $patch_url"
curl --silent $patch_url | patch --silent -p1
fi
}
install_package "yaml-0.1.4" "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz#36c852831d02cf90508c29852361d01b"
install_package "ruby-1.9.3-p125" "http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz#e3ea86b9d3fc2d3ec867f66969ae3b92"
install_package "rubygems-1.8.23" "http://production.cf.rubygems.org/rubygems/rubygems-1.8.23.tgz#178b0ebae78dbb46963c51ad29bb6bd9" ruby