Skip to content

Properly handle gems installed via --user-install #436

@postmodern

Description

@postmodern

When a user installs a gem with gem install --user-install it installs the gem into the Gem.user_dir path (ex: ~/.gem/$RUBY_ENGINE/$RUBY_API_VERSION). chruby should probably support the "user installation directory", in order to prevent --user-installed gems from simply disappearing.

Simplest way to support --user-install is to add/remote the "user installation directory" to both $GEM_PATH and $PATH, in addition to the rubygems "gem root".

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions