* [ruby-core:71630] [Ruby trunk - Feature #11731] [Open] Make ruby gem install to user-directory by default
[not found] <redmine.issue-11731.20151122203028@ruby-lang.org>
@ 2015-11-22 20:30 ` kallisti5
2015-11-22 20:56 ` [ruby-core:71631] [Ruby trunk - Feature #11731] " kallisti5
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: kallisti5 @ 2015-11-22 20:30 UTC (permalink / raw)
To: ruby-core
Issue #11731 has been reported by Alexander von Gluck.
----------------------------------------
Feature #11731: Make ruby gem install to user-directory by default
https://bugs.ruby-lang.org/issues/11731
* 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/
^ permalink raw reply [flat|nested] 9+ messages in thread
* [ruby-core:71631] [Ruby trunk - Feature #11731] Make ruby gem install to user-directory by default
[not found] <redmine.issue-11731.20151122203028@ruby-lang.org>
2015-11-22 20:30 ` [ruby-core:71630] [Ruby trunk - Feature #11731] [Open] Make ruby gem install to user-directory by default kallisti5
@ 2015-11-22 20:56 ` kallisti5
2015-11-22 21:40 ` [ruby-core:71632] " mike
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: kallisti5 @ 2015-11-22 20:56 UTC (permalink / raw)
To: ruby-core
Issue #11731 has been updated by Alexander von Gluck.
There would be a few minor logic issues around gem looking for --install-dir + --user-directory and erroring out... that check would need to be changed to --no-user-directory + --install-dir
This definitely would need some discussion as it has a moderate scope (which tools using gem expect system-wide installation?)
To keep compatibility in logic, gem might need to detect the root/administrator user and install system-wide by default to ensure when someone sudo gem install XXX the gem isn't *just* installed for the root user.
----------------------------------------
Feature #11731: Make ruby gem install to user-directory by default
https://bugs.ruby-lang.org/issues/11731#change-55031
* 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/
^ permalink raw reply [flat|nested] 9+ messages in thread
* [ruby-core:71632] [Ruby trunk - Feature #11731] Make ruby gem install to user-directory by default
[not found] <redmine.issue-11731.20151122203028@ruby-lang.org>
2015-11-22 20:30 ` [ruby-core:71630] [Ruby trunk - Feature #11731] [Open] Make ruby gem install to user-directory by default kallisti5
2015-11-22 20:56 ` [ruby-core:71631] [Ruby trunk - Feature #11731] " kallisti5
@ 2015-11-22 21:40 ` mike
2015-11-22 22:56 ` [ruby-core:71633] " kallisti5
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mike @ 2015-11-22 21:40 UTC (permalink / raw)
To: ruby-core
Issue #11731 has been updated by Mike Pastore.
Aren't most people using rvm or rbenv/bundler to address this need?
----------------------------------------
Feature #11731: Make ruby gem install to user-directory by default
https://bugs.ruby-lang.org/issues/11731#change-55032
* 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/
^ permalink raw reply [flat|nested] 9+ messages in thread
* [ruby-core:71633] [Ruby trunk - Feature #11731] Make ruby gem install to user-directory by default
[not found] <redmine.issue-11731.20151122203028@ruby-lang.org>
` (2 preceding siblings ...)
2015-11-22 21:40 ` [ruby-core:71632] " mike
@ 2015-11-22 22:56 ` kallisti5
2015-11-22 23:12 ` [ruby-core:71634] " Matthew Kerwin
2015-11-22 23:44 ` [ruby-core:71636] [Ruby trunk - Feature #11731] Make ruby gem install to user-install " kallisti5
` (3 subsequent siblings)
7 siblings, 1 reply; 9+ messages in thread
From: kallisti5 @ 2015-11-22 22:56 UTC (permalink / raw)
To: ruby-core
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/
^ permalink raw reply [flat|nested] 9+ messages in thread
* [ruby-core:71634] Re: [Ruby trunk - Feature #11731] Make ruby gem install to user-directory by default
2015-11-22 22:56 ` [ruby-core:71633] " kallisti5
@ 2015-11-22 23:12 ` Matthew Kerwin
0 siblings, 0 replies; 9+ messages in thread
From: Matthew Kerwin @ 2015-11-22 23:12 UTC (permalink / raw)
To: Ruby developers
[-- Attachment #1: Type: text/plain, Size: 929 bytes --]
On 23 November 2015 at 08:56, <kallisti5@unixzen.com> wrote:
> 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.
>
>
Opinion, not fact: is it not the case that most folk who develop
independently usually do so where they either a) use rbenv or b) own the
machine and can `sudo` safely? And by contrast, the people who can't do
that are usually in corporate environments where site-wide installation
makes most sense?
Note that rbenv isn't just a workaround for this, it also allows
independent installation of entire Ruby environments, including
core/stdlib, parser, etc. So I don't know that we can say that there's
necessarily a large number of workarounds just for local gems.
--
Matthew Kerwin
http://matthew.kerwin.net.au/
[-- Attachment #2: Type: text/html, Size: 1959 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [ruby-core:71636] [Ruby trunk - Feature #11731] Make ruby gem install to user-install by default
[not found] <redmine.issue-11731.20151122203028@ruby-lang.org>
` (3 preceding siblings ...)
2015-11-22 22:56 ` [ruby-core:71633] " kallisti5
@ 2015-11-22 23:44 ` kallisti5
2015-11-22 23:52 ` [ruby-core:71637] " kallisti5
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: kallisti5 @ 2015-11-22 23:44 UTC (permalink / raw)
To: ruby-core
Issue #11731 has been updated by Alexander von Gluck.
Subject changed from Make ruby gem install to user-directory by default to Make ruby gem install to user-install by default
----------------------------------------
Feature #11731: Make ruby gem install to user-install by default
https://bugs.ruby-lang.org/issues/11731#change-55036
* 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/
^ permalink raw reply [flat|nested] 9+ messages in thread
* [ruby-core:71637] [Ruby trunk - Feature #11731] Make ruby gem install to user-install by default
[not found] <redmine.issue-11731.20151122203028@ruby-lang.org>
` (4 preceding siblings ...)
2015-11-22 23:44 ` [ruby-core:71636] [Ruby trunk - Feature #11731] Make ruby gem install to user-install " kallisti5
@ 2015-11-22 23:52 ` kallisti5
2015-11-23 1:01 ` [ruby-core:71638] [Ruby trunk - Feature #11731] [Third Party's Issue] " nobu
2015-11-23 16:44 ` [ruby-core:71643] [Ruby trunk - Feature #11731] " kallisti5
7 siblings, 0 replies; 9+ messages in thread
From: kallisti5 @ 2015-11-22 23:52 UTC (permalink / raw)
To: ruby-core
Issue #11731 has been updated by Alexander von Gluck.
Shouldn't site-wide installations use packaged gem files as they install to /usr?
Installing non-packaged files to /usr violates the LSB.
A few linux distros seem to also set --user-install as default:
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/gemrc?h=packages/ruby
----------------------------------------
Feature #11731: Make ruby gem install to user-install by default
https://bugs.ruby-lang.org/issues/11731#change-55037
* 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/
^ permalink raw reply [flat|nested] 9+ messages in thread
* [ruby-core:71638] [Ruby trunk - Feature #11731] [Third Party's Issue] Make ruby gem install to user-install by default
[not found] <redmine.issue-11731.20151122203028@ruby-lang.org>
` (5 preceding siblings ...)
2015-11-22 23:52 ` [ruby-core:71637] " kallisti5
@ 2015-11-23 1:01 ` nobu
2015-11-23 16:44 ` [ruby-core:71643] [Ruby trunk - Feature #11731] " kallisti5
7 siblings, 0 replies; 9+ messages in thread
From: nobu @ 2015-11-23 1:01 UTC (permalink / raw)
To: ruby-core
Issue #11731 has been updated by Nobuyoshi Nakada.
Status changed from Open to Third Party's Issue
Rubygems upstream is https://github.com/rubygems/rubygems.
Maybe to fallback to user-install when no permission to the default place.
BTW, is ruby installed under `/boot` filesystem, on Haiku?
----------------------------------------
Feature #11731: Make ruby gem install to user-install by default
https://bugs.ruby-lang.org/issues/11731#change-55038
* Author: Alexander von Gluck
* Status: Third Party's Issue
* 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/
^ permalink raw reply [flat|nested] 9+ messages in thread
* [ruby-core:71643] [Ruby trunk - Feature #11731] Make ruby gem install to user-install by default
[not found] <redmine.issue-11731.20151122203028@ruby-lang.org>
` (6 preceding siblings ...)
2015-11-23 1:01 ` [ruby-core:71638] [Ruby trunk - Feature #11731] [Third Party's Issue] " nobu
@ 2015-11-23 16:44 ` kallisti5
7 siblings, 0 replies; 9+ messages in thread
From: kallisti5 @ 2015-11-23 16:44 UTC (permalink / raw)
To: ruby-core
Issue #11731 has been updated by Alexander von Gluck.
https://github.com/rubygems/rubygems/issues/1394 opened to track. Sorry for putting it in the wrong place.
Haiku is a little special. /boot represents the os "boot" drive (and not where only the kernel lives)
https://www.haiku-os.org/docs/userguide/en/filesystem-layout.html
----------------------------------------
Feature #11731: Make ruby gem install to user-install by default
https://bugs.ruby-lang.org/issues/11731#change-55045
* Author: Alexander von Gluck
* Status: Third Party's Issue
* 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/
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-11-23 23:54 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <redmine.issue-11731.20151122203028@ruby-lang.org>
2015-11-22 20:30 ` [ruby-core:71630] [Ruby trunk - Feature #11731] [Open] Make ruby gem install to user-directory by default kallisti5
2015-11-22 20:56 ` [ruby-core:71631] [Ruby trunk - Feature #11731] " kallisti5
2015-11-22 21:40 ` [ruby-core:71632] " mike
2015-11-22 22:56 ` [ruby-core:71633] " kallisti5
2015-11-22 23:12 ` [ruby-core:71634] " Matthew Kerwin
2015-11-22 23:44 ` [ruby-core:71636] [Ruby trunk - Feature #11731] Make ruby gem install to user-install " kallisti5
2015-11-22 23:52 ` [ruby-core:71637] " kallisti5
2015-11-23 1:01 ` [ruby-core:71638] [Ruby trunk - Feature #11731] [Third Party's Issue] " nobu
2015-11-23 16:44 ` [ruby-core:71643] [Ruby trunk - Feature #11731] " kallisti5
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).