lib/vx/builder/script/ruby.rb in vx-builder-0.1.7 vs lib/vx/builder/script/ruby.rb in vx-builder-0.1.8
- old
+ new
@@ -31,10 +31,10 @@
i << trace_sh_command("bundle install #{bundler_args}")
i << trace_sh_command("bundle clean --force")
end
if env.source.script.empty?
- script = "if [ -f Rakefile ] then #{trace_sh_command "bundle exec rake"} ; else true ; fi"
+ script = "if [ -f Rakefile ] then (#{trace_sh_command "bundle exec rake"}) ; fi"
env.script << script
end
if env.source.cached_directories != false
env.cached_directories.push "~/.rubygems"