From: kallisti5@... Date: 2015-11-22T20:56:43+00:00 Subject: [ruby-core:71631] [Ruby trunk - Feature #11731] Make ruby gem install to user-directory by default 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/