lib/vx/builder/script_builder/ruby.rb in vx-builder-0.5.24 vs lib/vx/builder/script_builder/ruby.rb in vx-builder-0.5.25
- old
+ new
@@ -36,9 +36,12 @@
end
do_install(env) do |i|
bundler_args = env.source.bundler_args.first || DEFAULT_BUNDLE_INSTALL_ARGS
i << trace_sh_command("bundle install #{bundler_args}")
+ end
+
+ do_before_script(env) do |i|
i << trace_sh_command("vx_builder ruby:rails:install")
end
do_script(env) do |i|
script = "if [ -f Rakefile ] ; then \n #{trace_sh_command "bundle exec rake"}\nfi"