Add rubygems bin to PATH bug #145267
Thufir
hawat.thufir at gmail.com
Mon Dec 14 15:05:53 UTC 2009
This bug is quite annoying:
The rubygems package places the binaries for installed gems into /var/lib/
gems/1.8/bin, but this directory is not in the default PATH after the
package is installed. It would be nice to add this when installing the
package.
https://bugs.launchpad.net/ubuntu/+source/libgems-ruby/+bug/145267
(I have to disagree a bit with the above description, in that the path to
the gem should be the users directory.)
I suppose what's annoying, for me, is that it's not limited to this
package, but more of a general problem, which solution is unclear to me.
Do you edit ~/.bashrc? or, is it /etc/profile? or, /etc/profile.d/
foo.sh, or ~/.config/autostart or ~/.kde/Autorun? All have been
suggested with varying rationales.
Sure, ok, "one true path" sounds like a great idea. However, it seems
pretty straightforward that *any* package should also set the path,
should it not?
In this case, since gems are installed into the users folder, the path
should be dependent upon the user. In any event, is there at least a
consensus on where to update the path?
-Thufir
More information about the ubuntu-users
mailing list