File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ bundler_args: "--binstubs --path ../bundle --retry=3 --jobs=3"
24
24
25
25
before_install :
26
26
- script/clone_all_rspec_repos
27
- - gem update bundler
27
+ # Note this doesn't work on JRUBY 2.0.0 mode so we don't do it, the excluded versions are broken on Ruby 2.3
28
+ - if [ "jruby" != "$TRAVIS_RUBY_VERSION" ]; then gem install bundler --version "1.11.2"; fi
29
+ - alias bundle="bundle _1.11.2_"
28
30
29
31
before_script :
30
32
# Rails 4.x complains with a bundler rails binstub in PROJECT_ROOT/bin/
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ namespace :generate do
59
59
bindir = File . expand_path ( "bin" )
60
60
61
61
# Rails 4 cannot use a `rails` binstub generated by Bundler
62
+ sh "bundle binstubs bundler --force"
62
63
sh "rm -f #{ bindir } /rails"
63
64
sh "bundle exec rails new ./tmp/example_app --no-rc --skip-javascript --skip-sprockets --skip-git --skip-test-unit --skip-listen --skip-bundle --template=example_app_generator/generate_app.rb"
64
65
You can’t perform that action at this time.
0 commit comments