Skip to content

Commit

Permalink
Always install using bundler 1.16.4 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
sshaw committed Apr 1, 2019
1 parent e7db13a commit e05ece4
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,12 @@ def install

ENV["BUNDLE_GEMFILE"] = gemfile

# TODO: update these in 0.2.0 to use new Bundler options
commands = ["bundle install --path vendor/bundle --without=test development --binstubs",
"#{RAKE} ar:setup"]
begin
# Just look up gem?
Gem.bin_path "bundler", "bundle"
rescue Gem::GemNotFoundException => e
commands.unshift "gem install bundler --no-rdoc"
end
commands = [
"gem install bundler -v 1.16.4",
# TODO: update these in 0.2.0 to use new Bundler options
"bundle _1.16.4_ install --path vendor/bundle --without=test development --binstubs",
"#{RAKE} ar:setup"
]

commands.each do |cmd|
puts cmd
Expand Down

0 comments on commit e05ece4

Please sign in to comment.