Skip to content

Default gems location as framework on macOS #2890

@nobu

Description

@nobu

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:

  • Network problems
  • Installing a library
  • Publishing a library
  • The command line gem
  • Other

Here are my current environment details:

$ gem env version
PASTE HERE

I will abide by the code of conduct.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions