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 Bachir 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 On Nov 14, 2007 4:10 PM, John Joseph Bachir <johnjosephbachir at gmail.com> 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 > > mongrel was installed using gem in all cases. > > What is the cause of the discrepancy? > > Thanks, > John > > -- > John Joseph Bachir > http://lyceum.ibiblio.org > http://blog.johnjosephbachir.org > aim/yim/msn/jabber.org/gtalk: johnjosephbachir > 713-494-2704 > http://jjb.cc > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users >-- Evan Weaver Cloudburst, LLC
John Joseph Bachir dijo [Wed, Nov 14, 2007 at 04:10:35PM -0500]:> 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?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] http://packages.debian.org/sid/mongrel -- Gunnar Wolf - gwolf at gwolf.org - (+52-55)5623-0154 / 1451-2244 PGP key 1024D/8BB527AF 2001-10-23 Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF
Thanks for the thoughts Gunnar. On Nov 14, 2007 5:02 PM, Gunnar Wolf <gwolf at gwolf.org> 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 Bachir http://lyceum.ibiblio.org http://blog.johnjosephbachir.org aim/yim/msn/jabber.org/gtalk: johnjosephbachir 713-494-2704 http://jjb.cc
On 11/14/07, John Joseph Bachir <johnjosephbachir at gmail.com> 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. -- Andrei Maxim http://andreimaxim.ro -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20071115/f56d72d3/attachment.html