Explorar el Código

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 hace 6 años
padre
commit
60bd64c39d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      renv.sh

+ 1 - 1
renv.sh

@@ -37,7 +37,7 @@ renv() {
       fi
 
       eval "$(
-        ruby -rubygems - <<-'EOF'
+        ruby -rrubygems - <<-'EOF'
       puts "local ruby_engine=#{defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'}"
       puts "local ruby_version=#{RUBY_VERSION}"
       puts "local gem_path='#{Gem.path.join(':')}'"