In the case of installation as system bundled framework on macOS (when RUBY_FRAMEWORK_VERSION is defined), Gem.default_dir returns a path derived from RbConfig::CONFIG['sitedir'].
Regarding the bundled framework on macOS Mojave, default gems are placed there but other vendor bundled gems are placed in /usr/lib/ruby/gems/2.3.0/gems (= /System/Library/Frameworks/Ruby.framework/Versions/Current/usr/lib/ruby/).
I think that also the former gems including defaults should be placed in the latter location.
This issue is related to:
Here are my current environment details:
$ gem env version
PASTE HERE
I will abide by the code of conduct.
In the case of installation as system bundled framework on macOS (when
RUBY_FRAMEWORK_VERSIONis defined),Gem.default_dirreturns a path derived fromRbConfig::CONFIG['sitedir'].Regarding the bundled framework on macOS Mojave, default gems are placed there but other vendor bundled gems are placed in
/usr/lib/ruby/gems/2.3.0/gems(=/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/lib/ruby/).I think that also the former gems including defaults should be placed in the latter location.
This issue is related to:
gemHere are my current environment details:
I will abide by the code of conduct.