[ruby-core:71633] [Ruby trunk - Feature #11731] Make ruby gem install to user-directory by default

From: kallisti5@...
Date: 2015-11-22 22:56:40 UTC
List: ruby-core #71633
Issue #11731 has been updated by Alexander von Gluck.


yeah, the large number of workarounds show this is a pretty default workflow for people. Thus raises the question on why it isn't the default behavior.

----------------------------------------
Feature #11731: Make ruby gem install to user-directory by default
https://bugs.ruby-lang.org/issues/11731#change-55033

* Author: Alexander von Gluck
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Installing gem's system-wide doesn't make sense 99% of the time...

* Linux -- Need root access via sudo
* Windows -- Need administrator
* Max OS X -- Need root access via sudo
* Haiku -- /boot/system read-only

gem currently installs gems system-wide by default

Since the most common use-case is to install gems for your own
user, why doesn't gem --user-directory by default?

Tools like rvm already set this manually.

Making --user-directory default means package maintainers only
need to --no-user-directory while everyone else just gem install's



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next