Browse Source

Use `-rrubygems` as `-rubygems` has been retired in 2.5.0+.

:'(

https://www.engineyard.com/blog/goodbye-ubygems

Signed-off-by: Fletcher Nichol <fnichol@nichol.ca>
Fletcher Nichol 6 years ago
parent
commit
60bd64c39d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      renv.sh

+ 1 - 1
renv.sh

@@ -37,7 +37,7 @@ renv() {
       fi
       fi
 
 
       eval "$(
       eval "$(
-        ruby -rubygems - <<-'EOF'
+        ruby -rrubygems - <<-'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(':')}'"