On a debian production server and my os x development mcahine, there
is a script at
/usr/local/bin/mongrel_rails
On an ubuntu 7.1 machine, this script appears at
/var/lib/gems/1.8/bin/mongrel_rails
mongrel was installed using gem in all cases.
What is the cause of the discrepancy?
Thanks,
John
–
John Joseph B.
http://lyceum.ibiblio.org
http://blog.johnjosephbachir.org
aim/yim/msn/jabber.org/gtalk: johnjosephbachir
713-494-2704
http://jjb.cc
Ubuntu changed the way Rubygems is handled in version 7. This is an OS
issue, not a Mongrel issue.
Evan
John Joseph B. dijo [Wed, Nov 14, 2007 at 04:10:35PM -0500]:
What is the cause of the discrepancy?
I suggest you don’t use different package management systems - Either
you handle all of your Ruby modules and components (i.e. Mongrel)
via Gems, or all of them via dpkg. And I favor the later, as it
guarantees better integration with your whole operating system. If you
mix some .deb packages and some Gems, you will end up with an
unadministrable system, and problems such as this will lead you to
problems such as what you are experiencing.
Ubuntu is currently shipping Mongrel 1.0.1 in its Gutsy release [1]; I
just uploaded 1.1.1 to Debian’s unstable release [2]. Of course, I
won’t also recommend you to use Debian’s version in Ubuntu (it leads
to a similar chaos)… But just in case you want to use Debian proper
[1] http://packages.ubuntu.com/gutsy/web/mongrel
[2] Debian -- Error
–
Gunnar W. - [email protected] - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF
On 11/14/07, John Joseph B. [email protected] wrote:
On a debian production server and my os x development mcahine, there
is a script at
/usr/local/bin/mongrel_rails
On an ubuntu 7.1 machine, this script appears at
/var/lib/gems/1.8/bin/mongrel_rails
That’s strange. I’m managing a Ubuntu 7.1 server and I have a couple of
Ubuntu 7.1 virtual machines and here’s what I get on all of them:
$ whereis mongrel_rails
mongrel_rails: /usr/bin/mongrel_rails /usr/bin/X11/mongrel_rails
/usr/local/bin/mongrel_rails
And I noticed I don’t have a /var/lib/gems folder.
Thanks for the thoughts Gunnar.
On Nov 14, 2007 5:02 PM, Gunnar W. [email protected] wrote:
I suggest you don’t use different package management systems - Either
you handle all of your Ruby modules and components (i.e. Mongrel)
via Gems, or all of them via dpkg.
To be clear: I was, in fact, using gem and only gem on all my systems.
Cheers,
John
–
John Joseph B.
http://lyceum.ibiblio.org
http://blog.johnjosephbachir.org
aim/yim/msn/jabber.org/gtalk: johnjosephbachir
713-494-2704
http://jjb.cc