lib/vx/builder/script/ruby.rb in vx-builder-0.0.15 vs lib/vx/builder/script/ruby.rb in vx-builder-0.0.16

- old
+ new

@@ -9,9 +9,10 @@ def call(env) if rvm env env.cache_key << "rvm-#{rvm env}" env.before_install.tap do |i| + i << "source /etc/profile.d/rbenv.sh" i << 'eval "$(rbenv init -)" || true' i << "rbenv shell #{make_rbenv_version_command env}" i << trace_sh_command("export BUNDLE_GEMFILE=${PWD}/#{gemfile(env)}") i << trace_sh_command('export GEM_HOME=~/.rubygems') end