Skip to content

Commit d6a4992

Browse files
committed
Install Bundler 1.17.x by default, too
1 parent 3fb6efb commit d6a4992

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

1.8.7-p374

+9
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ index a15309d502..35a2f03052 100644
2525
EOF
2626
}
2727

28+
install_gem() {
29+
RBENV_VERSION="$VERSION_NAME" rbenv-exec gem install "$@"
30+
}
31+
32+
install_bundler() {
33+
install_gem bundler -v "< 2"
34+
}
35+
2836
# Clang errors on warnings. Tell it to ignore this one.
2937
export RUBY_CFLAGS="-Wno-error=implicit-function-declaration"
3038

@@ -35,3 +43,4 @@ package_option ruby configure --with-openssl-dir="$(brew --prefix basecamp/dev/o
3543
require_gcc
3644
install_package "ruby-1.8.7-p374" "https://cache.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p374.tar.bz2#b4e34703137f7bfb8761c4ea474f7438d6ccf440b3d35f39cc5e4d4e239c07e3" freshen_automake_config patch_lex_c99 auto_tcltk standard
3745
install_package "rubygems-1.8.23" "https://rubygems.org/rubygems/rubygems-1.8.23.tgz#e4a1c6bbaac411eaab94deae78228b7584033a1f10a022f52bffa9613aa29061" ruby
46+
install_bundler

0 commit comments

Comments
 (0)