Skip to content
Browse files

update the bootstrap bundle args

  • Loading branch information...
1 parent 2e75a4c commit 11e8f4a15d4a3821890595b522bf3b3cd7ab2c86 @technoweenie technoweenie committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 script/bootstrap
View
6 script/bootstrap
@@ -47,6 +47,8 @@ rescue LoadError => boom
exit 0
end
+FileUtils.mkdir_p('.bundle')
+
# record the Gemfile checksum so we can tell if the Gemfile has changed
# since our loadpath was last generated. this is used in config/basic.rb
# to verify the environment is bootstrapped and up-to-date.
@@ -59,7 +61,9 @@ if checksum == installed && system('bundle check 1>/dev/null 2>&1')
puts "Gem environment up-to-date."
else
# run bundle-install to install any missing gems
- argv = ['--no-color', 'install', '--path', 'vendor/gems'] + ARGV
+
+ argv = ['install', '--no-color', '--path', File.join(root, 'vendor/gems')]
+ argv += ['--standalone', '--binstubs', 'bin', '--shebang'] + ARGV
system("bundle", *argv) || begin
warn "bundle executable not found. Ensure bundler is installed (`gem " +
"install bundler`) and that the gem bin path is in your PATH"

0 comments on commit 11e8f4a

Please sign in to comment.
Something went wrong with that request. Please try again.