From: personnel@163.com Date: 2016-01-07T08:45:11+00:00 Subject: [ruby-core:72756] [Ruby trunk - Bug #11956] RUBYOPT parses after rubygems loaded Issue #11956 has been updated by Am I Who. Description updated ---------------------------------------- Bug #11956: RUBYOPT parses after rubygems loaded https://bugs.ruby-lang.org/issues/11956#change-56002 * Author: Am I Who * Status: Feedback * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0p0 (2015-12-25 revision 53290) [x64-mingw32] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- RUBYOPT=-rloader but loader.rb loads after rubygems.rb loaded I change GEM_HOME and GEM_PATH in loader.rb , but it doesn't affect Gem.path. The same loader.rb works at ruby 2.2.3(and before) and jruby. I uses both MRI ruby and jruby,so I uses RUBYOPT to changes GEM_HOME and GEM_PATH for different ruby engine -- https://bugs.ruby-lang.org/ Unsubscribe: