lib/vx/builder/script_builder/ruby.rb in vx-builder-0.5.26 vs lib/vx/builder/script_builder/ruby.rb in vx-builder-0.5.27

- old
+ new

@@ -22,16 +22,16 @@ do_init(env) do |i| if jruby?(env) i << trace_sh_command('export JRUBY_OPTS="-Xcext.enabled=true"') end - end - - do_before_install(env) do |i| i << trace_sh_command("export RAILS_ENV=test") i << trace_sh_command("export RACK_ENV=test") i << trace_sh_command("export BUNDLE_GEMFILE=${PWD}/#{gemfile(env)}") i << trace_sh_command('export GEM_HOME=~/.rubygems') + end + + do_before_install(env) do |i| i << trace_sh_command("vx_builder ruby:install #{ruby_version env}") i << "source $(cat .ruby-activate)" end do_announce(env) do |i|