|
@@ -36,13 +36,13 @@ renv() {
|
|
return 9
|
|
return 9
|
|
fi
|
|
fi
|
|
|
|
|
|
- eval $(
|
|
|
|
|
|
+ eval "$(
|
|
ruby -rubygems - <<-'EOF'
|
|
ruby -rubygems - <<-'EOF'
|
|
puts "local ruby_engine=#{defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'}"
|
|
puts "local ruby_engine=#{defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'}"
|
|
puts "local ruby_version=#{RUBY_VERSION}"
|
|
puts "local ruby_version=#{RUBY_VERSION}"
|
|
puts "local gem_path='#{Gem.path.join(':')}'"
|
|
puts "local gem_path='#{Gem.path.join(':')}'"
|
|
EOF
|
|
EOF
|
|
- )
|
|
|
|
|
|
+ )"
|
|
local gem_dir="$PWD/.gem/$ruby_engine/$ruby_version"
|
|
local gem_dir="$PWD/.gem/$ruby_engine/$ruby_version"
|
|
|
|
|
|
export RENV_ORIG_PATH="$PATH"
|
|
export RENV_ORIG_PATH="$PATH"
|