Skip to content

Commit 68bf590

Browse files
committed
1.9.3-p551 with M1-compatible OpenSSL 1.0 and Bundler 1.17.3
1 parent d6a4992 commit 68bf590

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

1.9.3-p551

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Old config.guess isn't arm64-aware. Pull a new one in from automake.
2+
build_package_freshen_automake_config() {
3+
{
4+
brew install automake
5+
cp `brew --prefix automake`/share/automake-*/config.{guess,sub} .
6+
} >&4 2>&1
7+
}
8+
9+
install_gem() {
10+
RBENV_VERSION="$VERSION_NAME" rbenv-exec gem install "$@"
11+
}
12+
13+
install_bundler() {
14+
install_gem bundler -v "< 2"
15+
}
16+
17+
# Clang errors on warnings. Tell it to ignore this one.
18+
export RUBY_CFLAGS="-Wno-error=implicit-function-declaration"
19+
20+
# M1-compatible OpenSSL 1.0 from https://github.com/basecamp/homebrew-dev
21+
brew install basecamp/dev/[email protected]
22+
package_option ruby configure --with-openssl-dir="$(brew --prefix basecamp/dev/[email protected])"
23+
24+
install_package "yaml-0.1.6" "http://pyyaml.org/download/libyaml/yaml-0.1.6.tar.gz#7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749" --if needs_yaml
25+
install_package "ruby-1.9.3-p551" "https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p551.tar.bz2#b0c5e37e3431d58613a160504b39542ec687d473de1d4da983dabcf3c5de771e" freshen_automake_config standard
26+
install_bundler

0 commit comments

Comments
 (0)