FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 12-14-2009, 02:05 PM
Thufir
 
Default Add rubygems bin to PATH bug #145267

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



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-15-2009, 12:19 AM
Patrick Doyle
 
Default Add rubygems bin to PATH bug #145267

On Mon, Dec 14, 2009 at 10:05 AM, Thufir <hawat.thufir@gmail.com> wrote:
> 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.
I've only ever installed a very small handful of gems that have
executables associated with them... hmmm, rails comes to mind, as does
grb ("git-remote-branch"). Not all gems install executables, but the
ones that I've installed that _do_ install executables have put them
in /usr/bin (or at least put links in there -- I've never looked that
carefully before, and I'm not sitting at my Linux box right now).

What gems have you had problems with? Perhaps you should contact the
maintainer of that gem.

--wpd

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 10:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org