File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ before_script:
3
3
- rm -f bin/rails
4
4
- bundle exec rails --version
5
5
script : " script/run_build 2>&1"
6
- bundler_args : " --binstubs"
6
+ bundler_args : " --binstubs --path ../bundle "
7
7
before_install :
8
8
# Downgrade bundler to work around https://github.com/bundler/bundler/issues/3004
9
9
- gem install bundler -v=1.5.3
Original file line number Diff line number Diff line change @@ -52,11 +52,11 @@ namespace :generate do
52
52
53
53
# Rails 4 cannot use a `rails` binstub generated by Bundler
54
54
sh "rm -f #{ bindir } /rails"
55
- sh "bundle exec rails new ./tmp/example_app --skip-javascript --skip-sprockets --skip-git --skip-test-unit --template=templates/generate_app.rb"
55
+ sh "bundle exec rails new ./tmp/example_app --skip-javascript --skip-sprockets --skip-git --skip-test-unit --skip-bundle -- template=templates/generate_app.rb"
56
56
57
57
if test ?d, bindir
58
58
in_example_app do
59
- sh "bundle install --gemfile ./Gemfile --local "
59
+ sh "bundle install --gemfile ./Gemfile --path ../../../bundle "
60
60
# Rails 4 cannot use a `rails` binstub generated by Bundler
61
61
sh "bundle binstubs rspec-core rake --force"
62
62
sh "bundle binstubs rails" unless File . exist? ( "bin/rails" )
You can’t perform that action at this time.
0 commit comments