I see in the
https://help.ubuntu.com/community/RubyOnRails#Installing%20RubyGemspage that it says you have to add it yourself, but I don't understand why there is开发者_JS百科 an extra step.
Testing it on a Debian system, rubygemsRubyGems never adds anything to the $PATH
, whether on Ubuntu or otherwise. Nor does APT (or any other packaging system I know).
The $PATH
variable is clearly in the user's domain. No program should ever mess with it.
See https://bugs.launchpad.net/ubuntu/+source/gems/+bug/145267. Basically, the Ubuntu team has known about this problem for years, but a bunch of infighting has prevented any progress from being made.
精彩评论