lib/vx/builder/script/ruby.rb in vx-builder-0.1.4 vs lib/vx/builder/script/ruby.rb in vx-builder-0.1.5

- old
+ new

@@ -25,10 +25,11 @@ a << trace_sh_command("gem --version") a << trace_sh_command("bundle --version") end env.install.tap do |i| - i << trace_sh_command("bundle install") + bundler_args = env.source.bundler_args.first + i << trace_sh_command("bundle install #{bundler_args}") i << trace_sh_command("bundle clean --force") end if env.source.script.empty? script = "test -f Rakefile && #{trace_sh_command "bundle exec rake"} || true"