lib/vx/builder/script/ruby.rb in vx-builder-0.2.0 vs lib/vx/builder/script/ruby.rb in vx-builder-0.2.1

- old
+ new

@@ -24,17 +24,12 @@ i << trace_sh_command("ruby --version") i << trace_sh_command("gem --version") i << trace_sh_command("bundle --version") end - env.install.tap do |i| + do_install(env) do |i| bundler_args = env.source.bundler_args.first i << trace_sh_command("bundle install #{bundler_args}") - i << trace_sh_command("bundle clean --force") - end - - do_install(env) do |i| - i << trace_sh_command("bundle install") i << trace_sh_command("bundle clean --force") end do_script(env) do |i| script = "if [ -f Rakefile ] ; then \n #{trace_sh_command "bundle exec rake"}\nfi"