From feedback at vivirama.com Sat Mar 3 22:34:15 2007 From: feedback at vivirama.com (feedback@vivirama.com) Date: Sat Mar 3 22:34:23 2007 Subject: [Locomotive-users] problem after upgrading to January's release Message-ID: <29e1823f714690979ded91d204522a1e@vivirama.com> Hello, I had an application running on an old version of Locomotive with the RMagick Rails bundle (Rails 1.1). Now I've replaced the old Locomotive2 folder with the latest one, and I've downloaded and installed the January's release of the RMagick Rails bundle (Rails 1.2). When I request the home page of my app for the first time, it works (though I see this in Mongrel's log: Sat Mar 03 23:01:30 +0100 2007: Error calling Dispatcher.dispatch # ). But if I request the page again, it doesn't work. I get an error like this: ActiveRecord::ConfigurationError (Association named 'city' was not found; perhaps you misspelled it?): Do you have any idea about which could be the cause? Thanks in advance. xavi From feedback at vivirama.com Sun Mar 4 00:42:49 2007 From: feedback at vivirama.com (feedback@vivirama.com) Date: Sun Mar 4 00:42:56 2007 Subject: [Locomotive-users] problem after upgrading to January's release In-Reply-To: <29e1823f714690979ded91d204522a1e@vivirama.com> References: <29e1823f714690979ded91d204522a1e@vivirama.com> Message-ID: <6f4a067093878616bc67f777df217e79@vivirama.com> I found the solution! Like Rafe Colburn, I also had an include statement outside of a class, and this blew up my whole app. For more info, see Rafe's post... http://rc3.org/2007/02/resolving_the_n.php Thanks! xavi On 3 Mar 2007, at 23:34, feedback@vivirama.com wrote: > Hello, > > I had an application running on an old version of Locomotive with the > RMagick Rails bundle (Rails 1.1). Now I've replaced the old > Locomotive2 folder with the latest one, and I've downloaded and > installed the January's release of the RMagick Rails bundle (Rails > 1.2). > > When I request the home page of my app for the first time, it works > (though I see this in Mongrel's log: > Sat Mar 03 23:01:30 +0100 2007: Error calling Dispatcher.dispatch > # ). > > But if I request the page again, it doesn't work. I get an error like > this: > > ActiveRecord::ConfigurationError (Association named 'city' was not > found; perhaps you misspelled it?): > > > Do you have any idea about which could be the cause? > > Thanks in advance. > > xavi > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > From ericwaynebaker at gmail.com Mon Mar 5 14:20:07 2007 From: ericwaynebaker at gmail.com (Eric Baker) Date: Mon Mar 5 14:20:13 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue Message-ID: <68ebe7cb0703050620m4fe8df7bt2f25e141169de035@mail.gmail.com> Hi all, I've moved an RoR app from a Windows-based InstantRails install (Apache, Mongrel, MySql) to an Intel iMac running the latest version of Locomotive with the Jan 2007 Rails bundle, installed in the App dir. My app's code is located in a sub-folder of /Users/Shared. I've reset perms on all app files so everyone has r/w access to everything. I was able to migrate the app code from my Win box, update db drivers to 'sqlite3', create the new db, and get everything working EXCEPT that the SQLite3 db seems to occasionally get hung up while handling sessions, and locks the database making it unavailable to any other users. I'm not at my Mac, but the error in the development log states that the app can't complete a query because the SQLite3 db is 'locked'. I have to restart the app for SQLite3 to release the lock. I've browsed through the archives, but didn't see a post about this issue. Has anyone experienced this before? I don't have an issue with installing MySQL on my Mac, but like the neatness of the Locomotive app (just like InstantRails on PC), and was hoping to work with the app as-is. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070305/76892235/attachment.htm From ni-di at web.de Mon Mar 5 14:53:08 2007 From: ni-di at web.de (Niko Dittmann) Date: Mon Mar 5 14:53:16 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: <68ebe7cb0703050620m4fe8df7bt2f25e141169de035@mail.gmail.com> References: <68ebe7cb0703050620m4fe8df7bt2f25e141169de035@mail.gmail.com> Message-ID: <377EB120-3530-449B-8CCF-3BF595EB93A8@web.de> Hi Eric. The (only really bad IMHO) problem with sqlite is that it doesn't have row based locking but db (or table?) based locking. This means, the whole DB is locked if s/b is writing into one table/row/field. And the database connector by default give up after the first time when it tries to write and the DB is locked. So adding the timeout option to your database.yml may help _most_ of the time: development: adapter: sqlite3 database: db/development.sqlite3 timeout: 5000 timeout is in ms. Kind regards, Niko. Am 05.03.2007 um 15:20 schrieb Eric Baker: > Hi all, > > I've moved an RoR app from a Windows-based InstantRails install > (Apache, > Mongrel, MySql) to an Intel iMac running the latest version of > Locomotive > with the Jan 2007 Rails bundle, installed in the App dir. My app's > code is > located in a sub-folder of /Users/Shared. I've reset perms on all > app files > so everyone has r/w access to everything. > > I was able to migrate the app code from my Win box, update db > drivers to > 'sqlite3', create the new db, and get everything working EXCEPT > that the > SQLite3 db seems to occasionally get hung up while handling > sessions, and locks the database making it unavailable to any other > users. I'm not at my Mac, but the error in the development log states > that the app can't complete a query because the SQLite3 db is > 'locked'. > I have to restart the app for SQLite3 to release the lock. > > I've browsed through the archives, but didn't see a post about this > issue. > Has anyone experienced this before? I don't have an issue with > installing > MySQL on my Mac, but like the neatness of the Locomotive app (just > like > InstantRails on PC), and was hoping to work with the app as-is. > > Thanks! -- ____________________________ niko dittmann ____________________________ From ericwaynebaker at gmail.com Mon Mar 5 17:10:24 2007 From: ericwaynebaker at gmail.com (Eric Baker) Date: Mon Mar 5 17:10:29 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: <377EB120-3530-449B-8CCF-3BF595EB93A8@web.de> References: <68ebe7cb0703050620m4fe8df7bt2f25e141169de035@mail.gmail.com> <377EB120-3530-449B-8CCF-3BF595EB93A8@web.de> Message-ID: <68ebe7cb0703050910w72110b16w2ed58d627ec014ad@mail.gmail.com> Wow (that hurts). Thank you for the information. So my question would then be, do most people used cookie-based sessions when working with Locomotive? On 3/5/07, Niko Dittmann wrote: > > Hi Eric. > > > The (only really bad IMHO) problem with sqlite is that it doesn't > have row based locking but db (or table?) based locking. This means, > the whole DB is locked if s/b is writing into one table/row/field. > And the database connector by default give up after the first time > when it tries to write and the DB is locked. So adding the timeout > option to your database.yml may help _most_ of the time: > > development: > adapter: sqlite3 > database: db/development.sqlite3 > timeout: 5000 > > > timeout is in ms. > > Kind regards, Niko. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070305/165c5095/attachment.htm From loriolson at mac.com Mon Mar 5 17:20:36 2007 From: loriolson at mac.com (Lori M Olson) Date: Mon Mar 5 17:21:09 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: <68ebe7cb0703050910w72110b16w2ed58d627ec014ad@mail.gmail.com> References: <68ebe7cb0703050620m4fe8df7bt2f25e141169de035@mail.gmail.com> <377EB120-3530-449B-8CCF-3BF595EB93A8@web.de> <68ebe7cb0703050910w72110b16w2ed58d627ec014ad@mail.gmail.com> Message-ID: The problem here is the database. Don't use SQLite. If you started out on Windows using MySQL (as you stated in your first post), then why would you not stick with MySQL? Regards, Lori On 5-Mar-07, at 10:10 AM, Eric Baker wrote: > Wow (that hurts). Thank you for the information. So my question > would then be, do most people used cookie-based sessions when > working with Locomotive? > > > > On 3/5/07, Niko Dittmann wrote: Hi Eric. > > > The (only really bad IMHO) problem with sqlite is that it doesn't > have row based locking but db (or table?) based locking. This means, > the whole DB is locked if s/b is writing into one table/row/field. > And the database connector by default give up after the first time > when it tries to write and the DB is locked. So adding the timeout > option to your database.yml may help _most_ of the time: > > development: > adapter: sqlite3 > database: db/development.sqlite3 > timeout: 5000 > > > timeout is in ms. > > Kind regards, Niko. > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From ericwaynebaker at gmail.com Mon Mar 5 17:30:47 2007 From: ericwaynebaker at gmail.com (Eric Baker) Date: Mon Mar 5 17:30:53 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: References: <68ebe7cb0703050620m4fe8df7bt2f25e141169de035@mail.gmail.com> <377EB120-3530-449B-8CCF-3BF595EB93A8@web.de> <68ebe7cb0703050910w72110b16w2ed58d627ec014ad@mail.gmail.com> Message-ID: <68ebe7cb0703050930t78b15c7fjd560d0875d8eede3@mail.gmail.com> Only because the Mac is shared, having an encapsulated Rails environment that I can spin up/down easily is ideal. I'm not as competent on the Mac as my Win box, but I guess that I can run Mamp (or something similar) alongside Locomotive, or am I over-complicating this? Regards, Eric On 3/5/07, Lori M Olson wrote: > > The problem here is the database. Don't use SQLite. If you started > out on Windows using MySQL (as you stated in your first post), then > why would you not stick with MySQL? > > Regards, Lori > > On 5-Mar-07, at 10:10 AM, Eric Baker wrote: > > > Wow (that hurts). Thank you for the information. So my question > > would then be, do most people used cookie-based sessions when > > working with Locomotive? > > > > > > > > On 3/5/07, Niko Dittmann wrote: Hi Eric. > > > > > > The (only really bad IMHO) problem with sqlite is that it doesn't > > have row based locking but db (or table?) based locking. This means, > > the whole DB is locked if s/b is writing into one table/row/field. > > And the database connector by default give up after the first time > > when it tries to write and the DB is locked. So adding the timeout > > option to your database.yml may help _most_ of the time: > > > > development: > > adapter: sqlite3 > > database: db/development.sqlite3 > > timeout: 5000 > > > > > > timeout is in ms. > > > > Kind regards, Niko. > > > > > > > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070305/caf21097/attachment.htm From tamosunas at gmail.com Mon Mar 5 17:45:46 2007 From: tamosunas at gmail.com (Scott Tamosunas) Date: Mon Mar 5 17:45:51 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: <68ebe7cb0703050930t78b15c7fjd560d0875d8eede3@mail.gmail.com> References: <68ebe7cb0703050620m4fe8df7bt2f25e141169de035@mail.gmail.com> <377EB120-3530-449B-8CCF-3BF595EB93A8@web.de> <68ebe7cb0703050910w72110b16w2ed58d627ec014ad@mail.gmail.com> <68ebe7cb0703050930t78b15c7fjd560d0875d8eede3@mail.gmail.com> Message-ID: <6d8b03400703050945m3bd02727k86a4428e8311684d@mail.gmail.com> Installing MySQL on a Mac is easy. They have binary packages or you can compile the source. Have a look at: http://developer.apple.com/internet/opensource/osdb.html It should point you in the right direction. Don't use SQLlite. Scott On 3/5/07, Eric Baker wrote: > Only because the Mac is shared, having an encapsulated Rails > environment that I can spin up/down easily is ideal. I'm not as competent on > the Mac as my Win box, but I guess that I can run Mamp (or something > similar) alongside Locomotive, or am I over-complicating this? > > Regards, > > Eric > > > On 3/5/07, Lori M Olson wrote: > > The problem here is the database. Don't use SQLite. If you started > > out on Windows using MySQL (as you stated in your first post), then > > why would you not stick with MySQL? > > > > Regards, Lori > > > > On 5-Mar-07, at 10:10 AM, Eric Baker wrote: > > > > > Wow (that hurts). Thank you for the information. So my question > > > would then be, do most people used cookie-based sessions when > > > working with Locomotive? > > > > > > > > > > > > On 3/5/07, Niko Dittmann < ni-di@web.de> wrote: Hi Eric. > > > > > > > > > The (only really bad IMHO) problem with sqlite is that it doesn't > > > have row based locking but db (or table?) based locking. This means, > > > the whole DB is locked if s/b is writing into one table/row/field. > > > And the database connector by default give up after the first time > > > when it tries to write and the DB is locked. So adding the timeout > > > option to your database.yml may help _most_ of the time: > > > > > > development: > > > adapter: sqlite3 > > > database: db/development.sqlite3 > > > timeout: 5000 > > > > > > > > > timeout is in ms. > > > > > > Kind regards, Niko. > > > > > > > > > > > > _______________________________________________ > > > Locomotive-users mailing list > > > Locomotive-users@lists.raaum.org > > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > From ericwaynebaker at gmail.com Mon Mar 5 18:38:33 2007 From: ericwaynebaker at gmail.com (Eric Baker) Date: Mon Mar 5 18:38:38 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: <6d8b03400703050945m3bd02727k86a4428e8311684d@mail.gmail.com> References: <68ebe7cb0703050620m4fe8df7bt2f25e141169de035@mail.gmail.com> <377EB120-3530-449B-8CCF-3BF595EB93A8@web.de> <68ebe7cb0703050910w72110b16w2ed58d627ec014ad@mail.gmail.com> <68ebe7cb0703050930t78b15c7fjd560d0875d8eede3@mail.gmail.com> <6d8b03400703050945m3bd02727k86a4428e8311684d@mail.gmail.com> Message-ID: <68ebe7cb0703051038p70677a3co32ebf35a7617c909@mail.gmail.com> Scott/everyone...Thanks for the advice! I'll switch back to MySQL. Regards, Eric On 3/5/07, Scott Tamosunas wrote: > > Installing MySQL on a Mac is easy. They have binary packages or you > can compile the source. Have a look at: > > http://developer.apple.com/internet/opensource/osdb.html > > It should point you in the right direction. Don't use SQLlite. > > Scott > > On 3/5/07, Eric Baker wrote: > > Only because the Mac is shared, having an encapsulated Rails > > environment that I can spin up/down easily is ideal. I'm not as > competent on > > the Mac as my Win box, but I guess that I can run Mamp (or something > > similar) alongside Locomotive, or am I over-complicating this? > > > > Regards, > > > > Eric > > > > > > On 3/5/07, Lori M Olson wrote: > > > The problem here is the database. Don't use SQLite. If you started > > > out on Windows using MySQL (as you stated in your first post), then > > > why would you not stick with MySQL? > > > > > > Regards, Lori > > > > > > On 5-Mar-07, at 10:10 AM, Eric Baker wrote: > > > > > > > Wow (that hurts). Thank you for the information. So my question > > > > would then be, do most people used cookie-based sessions when > > > > working with Locomotive? > > > > > > > > > > > > > > > > On 3/5/07, Niko Dittmann < ni-di@web.de> wrote: Hi Eric. > > > > > > > > > > > > The (only really bad IMHO) problem with sqlite is that it doesn't > > > > have row based locking but db (or table?) based locking. This > means, > > > > the whole DB is locked if s/b is writing into one table/row/field. > > > > And the database connector by default give up after the first time > > > > when it tries to write and the DB is locked. So adding the timeout > > > > option to your database.yml may help _most_ of the time: > > > > > > > > development: > > > > adapter: sqlite3 > > > > database: db/development.sqlite3 > > > > timeout: 5000 > > > > > > > > > > > > timeout is in ms. > > > > > > > > Kind regards, Niko. > > > > > > > > > > > > > > > > _______________________________________________ > > > > Locomotive-users mailing list > > > > Locomotive-users@lists.raaum.org > > > > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > _______________________________________________ > > > Locomotive-users mailing list > > > Locomotive-users@lists.raaum.org > > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > > > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070305/c0b46418/attachment.htm From ni-di at web.de Mon Mar 5 21:04:20 2007 From: ni-di at web.de (Niko Dittmann) Date: Mon Mar 5 21:04:54 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: <68ebe7cb0703051038p70677a3co32ebf35a7617c909@mail.gmail.com> References: <68ebe7cb0703050620m4fe8df7bt2f25e141169de035@mail.gmail.com> <377EB120-3530-449B-8CCF-3BF595EB93A8@web.de> <68ebe7cb0703050910w72110b16w2ed58d627ec014ad@mail.gmail.com> <68ebe7cb0703050930t78b15c7fjd560d0875d8eede3@mail.gmail.com> <6d8b03400703050945m3bd02727k86a4428e8311684d@mail.gmail.com> <68ebe7cb0703051038p70677a3co32ebf35a7617c909@mail.gmail.com> Message-ID: Do you still have the problem when defining the timeout? It's here in the changeset (http://dev.rubyonrails.org/changeset/5258) and _should_ make things really better. I think sqlite is so convinient for development that I would give it a try. I guess, I'd even define another session store for development and not sacrify the convinience. But perhaps that's just me. Niko. -- ____________________________ niko dittmann ____________________________ From blanco at samsontech.com Mon Mar 5 21:12:16 2007 From: blanco at samsontech.com (Ira Cary Blanco) Date: Mon Mar 5 21:13:15 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: Message-ID: Agreed, Sqlite is very convenient for the dev environment. I wouldn't be so quick to write it off. ------------------------- Ira Cary Blanco Marketing & Media Samson Technologies Corp. on 3/5/07 4:04 PM, Niko Dittmann at ni-di@web.de wrote: > Do you still have the problem when defining the timeout? It's here > in the changeset (http://dev.rubyonrails.org/changeset/5258) and > _should_ make things really better. I think sqlite is so convinient > for development that I would give it a try. I guess, I'd even define > another session store for development and not sacrify the > convinience. But perhaps that's just me. > > > Niko. > > From tamosunas at gmail.com Mon Mar 5 21:20:45 2007 From: tamosunas at gmail.com (Scott Tamosunas) Date: Mon Mar 5 21:20:51 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: References: Message-ID: <6d8b03400703051320t44e635e8hbb93ba565f0d80ba@mail.gmail.com> It's a bad idea for your development database to be different that your production... you are just asking for trouble. It's worth the time to get familiar with whatever database you plan on running in production. Prototyping is one thing but development for production should be using as close as production as possible. On 3/5/07, Ira Cary Blanco wrote: > Agreed, Sqlite is very convenient for the dev environment. I wouldn't be so > quick to write it off. > > > ------------------------- > Ira Cary Blanco > Marketing & Media > Samson Technologies Corp. > > > on 3/5/07 4:04 PM, Niko Dittmann at ni-di@web.de wrote: > > > Do you still have the problem when defining the timeout? It's here > > in the changeset (http://dev.rubyonrails.org/changeset/5258) and > > _should_ make things really better. I think sqlite is so convinient > > for development that I would give it a try. I guess, I'd even define > > another session store for development and not sacrify the > > convinience. But perhaps that's just me. > > > > > > Niko. > > > > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > From paul.welty at gmail.com Tue Mar 6 14:16:01 2007 From: paul.welty at gmail.com (Paul Welty) Date: Tue Mar 6 14:46:30 2007 Subject: [Locomotive-users] Know of a SQLite3 manager? Message-ID: Speaking of SQLite3, does anyone know of a preferably-free SQLite3 manager for OS X? Something like PhpMyAdmin or CocoaMySql, but for SQLite3? (Without one, it seems hard to develop an app. But, maybe I rely too much on such tools to bail out my poor Rails programming!) -Paul From loriolson at mac.com Tue Mar 6 19:08:25 2007 From: loriolson at mac.com (Lori M Olson) Date: Tue Mar 6 19:08:31 2007 Subject: [Locomotive-users] Know of a SQLite3 manager? In-Reply-To: References: Message-ID: <9989BBD7-A656-40D2-8DBC-7F8F6D07A7CC@mac.com> On 6-Mar-07, at 7:16 AM, Paul Welty wrote: > Speaking of SQLite3, does anyone know of a preferably-free SQLite3 > manager for OS X? Something like PhpMyAdmin or CocoaMySql, but for > SQLite3? > > (Without one, it seems hard to develop an app. But, maybe I rely > too much on such tools to bail out my poor Rails programming!) > > -Paul > I just saw this posting about such an animal. http://www.mactech.com/news/?p=1009397 http://www.sqlabs.net/sqlitemanager.php But it isn't free. Regards, Lori From locomotive at restaurants101.com Tue Mar 6 22:01:08 2007 From: locomotive at restaurants101.com (Brian Morton) Date: Tue Mar 6 22:01:32 2007 Subject: [Locomotive-users] Know of a SQLite3 manager? In-Reply-To: <9989BBD7-A656-40D2-8DBC-7F8F6D07A7CC@mac.com> References: <9989BBD7-A656-40D2-8DBC-7F8F6D07A7CC@mac.com> Message-ID: <80D6A060-A3F2-473A-AAA6-ACB6B4B64F98@restaurants101.com> Here are couple of other links. http://sqlitebrowser.sourceforge.net/index.html http://www.sqlite.org/cvstrac/wiki?p=ManagementTools Brian On Mar 6, 2007, at 12:08 PM, Lori M Olson wrote: > On 6-Mar-07, at 7:16 AM, Paul Welty wrote: > >> Speaking of SQLite3, does anyone know of a preferably-free SQLite3 >> manager for OS X? Something like PhpMyAdmin or CocoaMySql, but for >> SQLite3? >> >> (Without one, it seems hard to develop an app. But, maybe I rely >> too much on such tools to bail out my poor Rails programming!) >> >> -Paul >> > > I just saw this posting about such an animal. > > http://www.mactech.com/news/?p=1009397 > > http://www.sqlabs.net/sqlitemanager.php > > But it isn't free. > > Regards, Lori > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > From ericwaynebaker at gmail.com Wed Mar 7 01:17:01 2007 From: ericwaynebaker at gmail.com (Eric Baker) Date: Wed Mar 7 01:17:08 2007 Subject: [Locomotive-users] Know of a SQLite3 manager? In-Reply-To: References: Message-ID: <68ebe7cb0703061717v31b4925axb78a69c4cf4f009a@mail.gmail.com> I was using SQLite3 only because I was doing isolated UAT, and if everything was equal (which it is not), it wasn't too important that the DB was different. It just happened that I needed to do the testing from my Mac, and didn't expect to run into locking issues. Once the app makes it past alpha, I'm going to host it properly, and do all testing from the same host. This is my usual practice, it's just an odd one-off situation that I needed to deal with. Regarding the GUI, I haven't found a great or even a good one. There are two that I'm using in tandem, but they are both inadequate: 'SQLite Data Browser' and 'SQLite Query'. Just another reason to switch back to MySQL. Hope that helps. Eric On 3/6/07, Paul Welty wrote: > > Speaking of SQLite3, does anyone know of a preferably-free SQLite3 > manager for OS X? Something like PhpMyAdmin or CocoaMySql, but for > SQLite3? > > (Without one, it seems hard to develop an app. But, maybe I rely too > much on such tools to bail out my poor Rails programming!) > > -Paul > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070307/8a2aaed9/attachment.htm From steve at waits.net Wed Mar 7 22:14:05 2007 From: steve at waits.net (Stephen Waits) Date: Wed Mar 7 22:15:00 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: <6d8b03400703051320t44e635e8hbb93ba565f0d80ba@mail.gmail.com> References: <6d8b03400703051320t44e635e8hbb93ba565f0d80ba@mail.gmail.com> Message-ID: <45EF392D.9010804@waits.net> Scott Tamosunas wrote: > It's a bad idea for your development database to be different that > your production... you are just asking for trouble. It's worth the > time to get familiar with whatever database you plan on running in > production. Prototyping is one thing but development for production > should be using as close as production as possible. I wholeheartedly disagree. It's bad for your test database to be different from your production database. But for development, I want speed and convenience. For me, sqlite3 serves that purpose extremely well. Better than no other. --Steve From tamosunas at gmail.com Wed Mar 7 22:38:02 2007 From: tamosunas at gmail.com (Scott Tamosunas) Date: Wed Mar 7 22:38:07 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: <45EF392D.9010804@waits.net> References: <6d8b03400703051320t44e635e8hbb93ba565f0d80ba@mail.gmail.com> <45EF392D.9010804@waits.net> Message-ID: <6d8b03400703071438w2e61c879u54007d1c783943ba@mail.gmail.com> On 3/7/07, Stephen Waits wrote: > Scott Tamosunas wrote: > > It's a bad idea for your development database to be different that > > your production... you are just asking for trouble. It's worth the > > time to get familiar with whatever database you plan on running in > > production. Prototyping is one thing but development for production > > should be using as close as production as possible. > > I wholeheartedly disagree. It's bad for your test database to be > different from your production database. Agreed. Your test database should be a mirror of production whenever possible. > But for development, I want speed and convenience. For me, sqlite3 > serves that purpose extremely well. Better than no other. > Totally disagree. You shouldn't wait to catch things in test that you can catch in development. Otherwise, you are just wasting cycles. That's the whole point of test-driven development, of which rails is a strong advocate. In additon, not every development environment has a testing group. In many bootstrap startups, developers do the testing as well due to budget constraints. I would rather take the time upfront to get my dev environment as close to production than trying to figure out at 2am why the production site isn't working. If MySQL was that much slower and that much harder to work with in a local env., I might agree with you. However, MySQL is very easy to configure and run locally and doesn't take up that much time and space. It's well-documented in many different places. Ultimately, you can do whatever you want. :-) I am not trying to get into a pissing contest here. To your original point, MySQL is very easy to run locally on any operating system, I have been running locally with MySQL on Windows, Linux and Mac OS X for many years. Good luck, Scott > --Steve > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > From steve at waits.net Thu Mar 8 00:06:31 2007 From: steve at waits.net (Stephen Waits) Date: Thu Mar 8 00:15:59 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: <6d8b03400703071438w2e61c879u54007d1c783943ba@mail.gmail.com> References: <6d8b03400703051320t44e635e8hbb93ba565f0d80ba@mail.gmail.com> <45EF392D.9010804@waits.net> <6d8b03400703071438w2e61c879u54007d1c783943ba@mail.gmail.com> Message-ID: <45EF5387.8060305@waits.net> Scott Tamosunas wrote: > Ultimately, you can do whatever you want. :-) I am not trying to get > into a pissing contest here. To your original point, MySQL is very > easy to run locally on any operating system, I have been running > locally with MySQL on Windows, Linux and Mac OS X for many years. True, mysql's not hard to setup/administer; but, sqlite's easier regardless. Yah, I'm not here to argue either. I just don't think people should outright dismiss sqlite so quickly - it's very useful, even for heavy development. Just curious, what have you been bitten by due to differences between sqlite and mysql? Myself, admittedly not a full time web developer, none. --Steve From tamosunas at gmail.com Thu Mar 8 00:37:09 2007 From: tamosunas at gmail.com (Scott Tamosunas) Date: Thu Mar 8 00:37:13 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: <45EF5387.8060305@waits.net> References: <6d8b03400703051320t44e635e8hbb93ba565f0d80ba@mail.gmail.com> <45EF392D.9010804@waits.net> <6d8b03400703071438w2e61c879u54007d1c783943ba@mail.gmail.com> <45EF5387.8060305@waits.net> Message-ID: <6d8b03400703071637t282c319apdc6598c87ed3c1d8@mail.gmail.com> On 3/7/07, Stephen Waits wrote: > Scott Tamosunas wrote: > > Ultimately, you can do whatever you want. :-) I am not trying to get > > into a pissing contest here. To your original point, MySQL is very > > easy to run locally on any operating system, I have been running > > locally with MySQL on Windows, Linux and Mac OS X for many years. > > True, mysql's not hard to setup/administer; but, sqlite's easier regardless. > > Yah, I'm not here to argue either. I just don't think people should > outright dismiss sqlite so quickly - it's very useful, even for heavy > development. > > Just curious, what have you been bitten by due to differences between > sqlite and mysql? Myself, admittedly not a full time web developer, none. Never, simply because I don't use sqlite. :-) Things I would be concerned about are: transaction support, stored procedures and triggers, select for updates... things like that. I can't imagine sql lite is built with those things in mind. Any sort of software development process, the close your can get your local env to the production env without sacrificing developer productivity, the better your software will turn out. > --Steve > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > From steve at waits.net Thu Mar 8 01:06:38 2007 From: steve at waits.net (Stephen Waits) Date: Thu Mar 8 01:06:45 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: <6d8b03400703071637t282c319apdc6598c87ed3c1d8@mail.gmail.com> References: <6d8b03400703051320t44e635e8hbb93ba565f0d80ba@mail.gmail.com> <45EF392D.9010804@waits.net> <6d8b03400703071438w2e61c879u54007d1c783943ba@mail.gmail.com> <45EF5387.8060305@waits.net> <6d8b03400703071637t282c319apdc6598c87ed3c1d8@mail.gmail.com> Message-ID: <45EF619E.20704@waits.net> Scott Tamosunas wrote: > > Never, simply because I don't use sqlite. :-) Things I would be > concerned about are: transaction support, stored procedures and > triggers, select for updates... things like that. I can't imagine sql > lite is built with those things in mind. * stored procedures - Clearly unsupported. But, very unrails-ish anyway. I never use them for my projects (which are small), and I've avoided these like the plague in larger projects; however, I've never worked on some nasty giant corporate mess (and never will). * select for update - I have no idea if sqlite can do this.. it wouldn't be hard to support, given locking is trivial (single-user), but I am doubtful it's in there. I've certainly never needed it. * triggers - http://www.sqlite.org/lang_createtrigger.html * transactions - http://www.sqlite.org/lang_transaction.html I wonder what version you used where this didn't work??? Which explains why I've never run into any of these problems. As DHH says, Rails is opinionated. You can make it work in ways that don't match (essentially) his opinions, and in that case, I can see why you wouldn't want to use SQLite. > Any sort of software development process, the close your can get your > local env to the production env without sacrificing developer > productivity, the better your software will turn out. And 640kb is enough memory for anything right? (ref: a "quote" famously mis-attributed to Bill Gates) :) But anyway.. my point's been made - that is, sqlite3 rocks for development, and that's my experience. I don't like FUD. Nice chatting with you. --Steve From ryan.raaum at gmail.com Thu Mar 8 02:55:05 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Mar 8 02:55:10 2007 Subject: [Locomotive-users] how do I see standard out for ruby applications that I run up??? In-Reply-To: References: Message-ID: You will see some of this using the Console.app (/Applications/Utilities/Console.app) -r On 2/12/07, Greg Hauptmann wrote: > Hi, > > Can someone tell me wiht Locomotive how to do I see standard out for ruby > applications that I run up??? > > e.g. if there's been a problem starting up an application and I want to see > the standard out during startup to see what was happening? > > Tks > Greg > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X From grail at goldweb.com.au Thu Mar 8 06:03:00 2007 From: grail at goldweb.com.au (Alex Satrapa) Date: Thu Mar 8 06:03:11 2007 Subject: [Locomotive-users] SQLite3 db is "locked" issue In-Reply-To: <6d8b03400703071637t282c319apdc6598c87ed3c1d8@mail.gmail.com> References: <6d8b03400703051320t44e635e8hbb93ba565f0d80ba@mail.gmail.com> <45EF392D.9010804@waits.net> <6d8b03400703071438w2e61c879u54007d1c783943ba@mail.gmail.com> <45EF5387.8060305@waits.net> <6d8b03400703071637t282c319apdc6598c87ed3c1d8@mail.gmail.com> Message-ID: On 08/03/2007, at 11:37 , Scott Tamosunas wrote: > [features missing from SQLite3 that] I would be > concerned about are: transaction support, stored procedures and > triggers, select for updates... things like that. I can't imagine sql > lite is built with those things in mind. SQLite3 is great for quick and dirty development. Rails doesn't use locking unless you tell it to. Heck, some people think that optimistic locking is usable in a multi-user environment! The fools. At least optimistic locking is engine-agnostic (optimistic locking relies on updating a column in the table... imagine that... you actually attempt to simultaneously alter the data to prevent people simultaneously altering the data - that's why it's called "optimistic" locking, because everyone knows optimists are fools). But SQLite3 supports optimistic locking by virtue of being an SQL database. Rails doesn't provide portable support for constraints (eg: "check that any row in this table has a non-null value in column A XOR a non- null value in column B"). Therefore having triggers and constraints available in the underlying database is pointless. Rails does provide a means for specifying stored procedures, but it's non-portable (you define the stored procedures in raw SQL). So it doesn't matter whether the underlying database supports them or not, because you are going to write portable code, aren't you? Or at least you'll be marking all the lines where you use vendor-specific SQL with "# FIXME VENDOR SQL" just to let your work mates know that there's a problem here that will bite everyone in the bum in six months time when you upgrade database versions and that deprecated keyword is no longer supported... Say, there's an advantage to using SQLite3 right there: no vendor- specific keywords to mess up your portability, meaning you're *required* to write more portable code. Just because you're using MySQL v5 right now doesn't mean you will still be using it in six months: your client will change hosting providers and find that they have to switch to PostgreSQL or Oracle, or even worse, MySQL v4. SQLite3 gives you everything you need to develop a Rails application, with none of the dead weight. For someone running Locomotive to develop a Rails application on their Mac OS X laptop (which may or may not run World of Warcraft from time to time), installing and configuring PostgreSQL may be a far too daunting task (and no, just installing from the disk image does not class as "installing and configuring"). There's that whole messing with ".conf" files, and restarting Mac OS X services, and messing with StartupItems or launchd... yukky! So for the guy sitting at a park bench, fidding with some Rails development while feeding the pigeons, Locomotive + SQLite3 seems to me to be a perfectly reasonable development environment for rapid development. Alex PS: I have MySQL, PostgreSQL and SQLite3 available in my development environment, and I regularly switch between the three. Hopefully this way I'll encounter gotchas in migration long before I have to deploy the system to a client site. From myobie at mac.com Thu Mar 8 16:17:43 2007 From: myobie at mac.com (Nathan Herald) Date: Thu Mar 8 16:18:03 2007 Subject: [Locomotive-users] Rails 1.2.2 Bundle Message-ID: Hello, WIll a new bundle with rails 1.2.2 be posted soon? Until then, I suppose I will freeze rails to that version. Thanx. -- Nathan Herald From steve at waits.net Thu Mar 8 16:24:14 2007 From: steve at waits.net (Stephen Waits) Date: Thu Mar 8 16:24:22 2007 Subject: [Locomotive-users] Rails 1.2.2 Bundle In-Reply-To: References: Message-ID: On Mar 8, 2007, at 8:17 AM, Nathan Herald wrote: > WIll a new bundle with rails 1.2.2 be posted soon? You can upgrade your bundle like this.. 1. Open Terminal from Locomotive 2. gem update rails -y 3. gem cleanup # in case you want to remove old rails versions --Steve From ryan.raaum at gmail.com Fri Mar 9 03:37:35 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Fri Mar 9 03:37:40 2007 Subject: [Locomotive-users] Rails 1.2.2 Bundle In-Reply-To: References: Message-ID: On 3/8/07, Nathan Herald wrote: > Hello, > > WIll a new bundle with rails 1.2.2 be posted soon? There is a new standard bundle (StandardRailsFeb2007) with Rails 1.2.2 and other updates available on the bundles page (this is 10.4 only) (http://locomotive.raaum.org/bundles). The full Locomotive download now includes this bundle as well. Best, -ryan > > Until then, I suppose I will freeze rails to that version. Thanx. > > -- > > Nathan Herald > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X From masterkain at gmail.com Fri Mar 9 08:26:01 2007 From: masterkain at gmail.com (Claudio Poli) Date: Fri Mar 9 08:26:11 2007 Subject: [Locomotive-users] capistrano and locomotive Message-ID: <7AC5DE19-E1C5-4F48-95E8-9E9F92E07CEF@gmail.com> hi, I'm trying to capistranize my rails edge app, I got this: imac24:~ kain$ cap --apply-to /Users/kain/Sites/iengine/app /Applications/Locomotive2/Bundles/standardRailsFeb2007.locobundle/ i386/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- /Users/kain/Sites/ iengine/app/config/environment (LoadError) from /Applications/Locomotive2/Bundles/ standardRailsFeb2007.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:27:in `require' from /Applications/Locomotive2/Bundles/ standardRailsFeb2007.locobundle/i386/lib/ruby/gems/1.8/gems/ capistrano-1.4.1/lib/capistrano/generators/rails/loader.rb:5:in `load!' from /Applications/Locomotive2/Bundles/ standardRailsFeb2007.locobundle/i386/lib/ruby/gems/1.8/gems/ capistrano-1.4.1/lib/capistrano/cli.rb:276:in `execute_apply_to!' from /Applications/Locomotive2/Bundles/ standardRailsFeb2007.locobundle/i386/lib/ruby/gems/1.8/gems/ capistrano-1.4.1/lib/capistrano/cli.rb:237:in `execute!' from /Applications/Locomotive2/Bundles/ standardRailsFeb2007.locobundle/i386/lib/ruby/gems/1.8/gems/ capistrano-1.4.1/lib/capistrano/cli.rb:12:in `execute!' from /Applications/Locomotive2/Bundles/ standardRailsFeb2007.locobundle/i386/lib/ruby/gems/1.8/gems/ capistrano-1.4.1/bin/cap:11 from /Applications/Locomotive2/Bundles/ standardRailsFeb2007.locobundle/i386/bin/cap:16:in `load' from /Applications/Locomotive2/Bundles/ standardRailsFeb2007.locobundle/i386/bin/cap:16 there's something I can do about it? I cannot recognise which file it wants to load: /Users/kain/Sites/ iengine/app/config/environment (??) thanks. From ruby at axel.nu Fri Mar 9 15:13:00 2007 From: ruby at axel.nu (Axel Roest) Date: Fri Mar 9 15:13:10 2007 Subject: [Locomotive-users] Locomotive doesn't start mongrel server Message-ID: <5F5174D3-B982-4016-9181-70B188E1448E@axel.nu> The last two times that I started Locomotive I can 'Run' a project, but it doesn't start up a server. I see a server neither with 'lsof - i' nor netstat on the port & socket specified. Last time I reinstalled Locomotive, and that seemed to do the trick. However I don't like to install it again & again. If I open a terminal and start the script/server manually, it works like a charm. It doesn't from the Locomotive GUI. Is there a way to log the startup process from Locomotive? To debug I put many messages in the various methods of the standardRailsJan2007.locobundle/bin/launch script. I now see in the console: we initialised the launch ran read_locomotive_config_file got environment run command=mongrel_rails start -e development -p 3000 -c /Users/axel/ Develop/svn/adsmon-web/adsmon -P /Users/axel/Develop/svn/adsmon-web/ adsmon/log/locomotive.pid -d Starting mongrel on http://localhost:3000 in development mode pid: (So it doesn't generate a pid) When I stop the process from the GUI, I see: pid: /Applications/Locomotive2/Bundles/ standardRailsJan2007.locobundle/bin/terminate:168:in `get_pid': Could not find pid file: /Users/axel/Develop/svn/adsmon-web/adsmon/log/ locomotive.pid (TerminateApp::PidFileMissingError) Digging further: the run_command that is used in the launch script is: mongrel_rails start -e development -p 3000 -c /Users/axel/Develop/svn/ adsmon-web/adsmon -P /Users/axel/Develop/svn/adsmon-web/adsmon/log/ locomotive.pid -d which doesn't work... However, when I cut & paste that command into the terminal, it works fine. (It only gives a warning that require_gem is obsolete.) The locomotive.pid is also written correctly. I believe that the "Open4.popen4(run_command)" method is not working correctly, but I don't really follow the ruby in that file. It seems to fork a process, with extras. This was also discussed on this mailing list last August, but a solution was never posted unfortunately. I am now back to installing Rails and Mongrels from scratch :-( Axel _____________________________ Axel M. Roest | AXEL Development & Support bv info@axel.nu | Macintosh developer & UNIX sysadmin http://www.axel.nu | XOIP: 084-8749988 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070309/32f4500e/attachment.htm From ryan.raaum at gmail.com Fri Mar 9 15:25:12 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Fri Mar 9 15:25:20 2007 Subject: [Locomotive-users] Locomotive doesn't start mongrel server In-Reply-To: <5F5174D3-B982-4016-9181-70B188E1448E@axel.nu> References: <5F5174D3-B982-4016-9181-70B188E1448E@axel.nu> Message-ID: Have you tried the (just posted http://locomotive.raaum.org/bundles) Feb2007 bundle... I believe there were some issues with the version of mongrel in the Jan2007 bundle on ppc. Best, -r On 3/9/07, Axel Roest wrote: > > The last two times that I started Locomotive I can 'Run' a project, but it > doesn't start up a server. I see a server neither with 'lsof -i' nor netstat > on the port & socket specified. > Last time I reinstalled Locomotive, and that seemed to do the trick. > However I don't like to install it again & again. > > If I open a terminal and start the script/server manually, it works like a > charm. It doesn't from the Locomotive GUI. Is there a way to log the startup > process from Locomotive? > > To debug I put many messages in the various methods of the > standardRailsJan2007.locobundle/bin/launch script. I now see in the > console: > > we initialised the launch > ran read_locomotive_config_file > got environment > run command=mongrel_rails start -e development -p 3000 -c > /Users/axel/Develop/svn/adsmon-web/adsmon -P > /Users/axel/Develop/svn/adsmon-web/adsmon/log/locomotive.pid -d > Starting mongrel on http://localhost:3000 in development mode > pid: > > (So it doesn't generate a pid) > > When I stop the process from the GUI, I see: > > pid: > /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/bin/terminate:168:in > `get_pid': Could not find pid file: > /Users/axel/Develop/svn/adsmon-web/adsmon/log/locomotive.pid > (TerminateApp::PidFileMissingError) > > Digging further: the run_command that is used in the launch script is: > mongrel_rails start -e development -p 3000 -c > /Users/axel/Develop/svn/adsmon-web/adsmon -P > /Users/axel/Develop/svn/adsmon-web/adsmon/log/locomotive.pid -d > > which doesn't work... > > However, when I cut & paste that command into the terminal, it works fine. > (It only gives a warning that require_gem is obsolete.) The locomotive.pidis also written correctly. > > I believe that the "Open4.popen4(run_command)" method is not working > correctly, but I don't really follow the ruby in that file. It seems to fork > a process, with extras. > > This was also discussed on this mailing list last August, but a solution > was never posted unfortunately. > > I am now back to installing Rails and Mongrels from scratch :-( > > Axel > _____________________________ > Axel M. Roest | AXEL Development & Support bv > info@axel.nu | Macintosh developer & UNIX sysadmin > http://www.axel.nu | XOIP: 084-8749988 > > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070309/d0505ed2/attachment.htm From ruby at axel.nu Fri Mar 9 16:05:28 2007 From: ruby at axel.nu (Axel Roest) Date: Fri Mar 9 16:05:49 2007 Subject: [Locomotive-users] Locomotive doesn't start mongrel server In-Reply-To: References: <5F5174D3-B982-4016-9181-70B188E1448E@axel.nu> Message-ID: On 9-mrt-2007, at 16:25, Ryan Raaum wrote: > Have you tried the (just posted http://locomotive.raaum.org/ > bundles) Feb2007 bundle... I believe there were some issues with > the version of mongrel in the Jan2007 bundle on ppc. > > Best, > > -r > I installed the Feb.2007 edition of the bundle and tried again: same result: it doesn't start up. The launch and open4.rb files in the bin directory are also identical to the Jan.2007 edition. The message in the console stays the same: Starting mongrel on http://localhost:3000 in development mode pid: I have now installed the complete ruby+rails environment from the terminal, so I don't really need Locomotive anymore, but I would like to help solving this puzzle. Also I like the option to easily stop & start servers from a GUI! Any Ruby gurus out there that know how to tame the open4 beast? Axel _____________________________ Axel M. Roest | AXEL Development & Support bv info@axel.nu | Macintosh developer & UNIX sysadmin http://www.axel.nu | XOIP: 084-8749988 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070309/1d840a63/attachment.htm From steve at waits.net Fri Mar 9 17:02:40 2007 From: steve at waits.net (Stephen Waits) Date: Fri Mar 9 17:02:49 2007 Subject: [Locomotive-users] capistrano and locomotive In-Reply-To: <7AC5DE19-E1C5-4F48-95E8-9E9F92E07CEF@gmail.com> References: <7AC5DE19-E1C5-4F48-95E8-9E9F92E07CEF@gmail.com> Message-ID: <4785EFD4-36D5-4DB5-879F-368002C961D0@waits.net> On Mar 9, 2007, at 12:26 AM, Claudio Poli wrote: > I'm trying to capistranize my rails edge app, I got this: Have you tried updating capistrano? gem update capistrano -y And maybe also maybe updating rubygems too? --Steve From masterkain at gmail.com Fri Mar 9 19:34:17 2007 From: masterkain at gmail.com (Claudio Poli) Date: Fri Mar 9 19:34:26 2007 Subject: [Locomotive-users] capistrano and locomotive In-Reply-To: <4785EFD4-36D5-4DB5-879F-368002C961D0@waits.net> References: <7AC5DE19-E1C5-4F48-95E8-9E9F92E07CEF@gmail.com> <4785EFD4-36D5-4DB5-879F-368002C961D0@waits.net> Message-ID: <5BD0E11D-F912-4ECE-A74C-F7DB6E6C21A4@gmail.com> yes, but no way. the problem was the path, I read (don't remember where) that I must do: cap -A /path/app instead I must do cap -A /path thanks anyway. claudio Il giorno 09/mar/07, alle ore 18:02, Stephen Waits ha scritto: > > On Mar 9, 2007, at 12:26 AM, Claudio Poli wrote: > >> I'm trying to capistranize my rails edge app, I got this: > > Have you tried updating capistrano? > > gem update capistrano -y > > And maybe also maybe updating rubygems too? > > --Steve > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From steve at waits.net Sat Mar 10 05:15:05 2007 From: steve at waits.net (Stephen Waits) Date: Sat Mar 10 05:15:19 2007 Subject: [Locomotive-users] capistrano and locomotive In-Reply-To: <5BD0E11D-F912-4ECE-A74C-F7DB6E6C21A4@gmail.com> References: <7AC5DE19-E1C5-4F48-95E8-9E9F92E07CEF@gmail.com> <4785EFD4-36D5-4DB5-879F-368002C961D0@waits.net> <5BD0E11D-F912-4ECE-A74C-F7DB6E6C21A4@gmail.com> Message-ID: <6667D67A-942E-4A7B-86B5-1268D682240F@waits.net> On Mar 9, 2007, at 11:34 AM, Claudio Poli wrote: > cap -A /path Ahh ok.. should have caught that. I always use: cap -A . from inside my app directory. --Steve From jnylund at yahoo.com Mon Mar 12 20:02:58 2007 From: jnylund at yahoo.com (Joel Nylund) Date: Mon Mar 12 20:50:21 2007 Subject: [Locomotive-users] locomotive and komodo Message-ID: Hi, I have been on a quest for a couple weeks to get a ruby/rails environment that runs on my mac and supports debugging. I have been using locomotive & textmate for some time and I like it, but I have found that I am one of those people that just learn better from using a debugger. Anyway here is what I have tried: - Netbeans - cool ide, but no debugger yet - Radrails - clunky ide, very buggy, debugger doesnt work on osx as far as I can see. But did get to work with lcomotive interpreter - Komodo - nice ide, ruby support seems quite good, got debugger working in native ruby. Would like to use on a locomotive server but im not sure where to start. Komodo docs say: # Load the script/server file that you would normally run from the command-line. # In the Debugging Configuration dialog, set the Directory field to the top-level directory containing the apps folder. # With the script/server file active, start the debugger. Im not sure how to load the script/server file that I would normally run in komodo since I normally just hit the green button to run it in locomotive? Any ideas, anyone else tried this? thanks Joel From f.sery at regionreunion.com Tue Mar 13 06:35:54 2007 From: f.sery at regionreunion.com (=?ISO-8859-1?Q?Fran=E7ois_S=E9ry?=) Date: Tue Mar 13 10:43:36 2007 Subject: [Locomotive-users] problems after updating locomotive Message-ID: <45F6464A.6070301@regionreunion.com> Bonjour, after updating locomotive, i can't open the terminal neither textmate from locomotive. It seems that locomotive doesnt create any file. could anyone help me . From ryan.raaum at gmail.com Tue Mar 13 15:51:48 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Mar 13 15:51:57 2007 Subject: [Locomotive-users] locomotive and komodo In-Reply-To: References: Message-ID: On 3/12/07, Joel Nylund wrote: > > Hi, I have been on a quest for a couple weeks to get a ruby/rails > environment > that runs on my mac and supports debugging. > > I have been using locomotive & textmate for some time and I like it, but I > have > found that I am one of those people that just learn better from using a > debugger. > > Anyway here is what I have tried: > - Netbeans - cool ide, but no debugger yet > - Radrails - clunky ide, very buggy, debugger doesnt work on osx as far as > I can > see. But did get to work with lcomotive interpreter > - Komodo - nice ide, ruby support seems quite good, got debugger working > in > native ruby. Would like to use on a locomotive server but im not sure > where to > start. > > Komodo docs say: > # Load the script/server file that you would normally run from the > command-line. How exactly? Do you have a screenshot or some more info on how this is to be done? -r # In the Debugging Configuration dialog, set the Directory field to the > top-level directory containing the apps folder. > # With the script/server file active, start the debugger. > > Im not sure how to load the script/server file that I would normally run > in > komodo since I normally just hit the green button to run it in locomotive? > > Any ideas, anyone else tried this? > > thanks > Joel > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070313/4394a3f4/attachment.htm From masterkain at gmail.com Thu Mar 15 04:16:23 2007 From: masterkain at gmail.com (Claudio Poli) Date: Thu Mar 15 04:16:30 2007 Subject: [Locomotive-users] locomotive and ruby 1.8.6 Message-ID: hi, I've a probably stupid question. I've compiled and installed ruby 1.8.6, rubygems 0.9.2 and other gems from source, everything working great. is there a way to make locomotive recognize to use this installation of ruby/rubygems instead of the bundled? if not, how I can create a bundle? thanks in advance. From myobie at mac.com Fri Mar 16 13:36:50 2007 From: myobie at mac.com (Nathan Herald) Date: Fri Mar 16 13:37:26 2007 Subject: [Locomotive-users] Free Image Message-ID: Hello, I would like to suggest adding FreeImage to the bundle. http://freeimage.sourceforge.net/ Thanx for all the hard work and great software. -- Nathan Herald From ryan.raaum at gmail.com Sat Mar 17 16:13:24 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sat Mar 17 16:13:30 2007 Subject: [Locomotive-users] New Bundles Message-ID: Hi All, There are new bundles on the sourceforge site (I've not yet updated the Locomotive bundles page). See here: http://sourceforge.net/project/showfiles.php?group_id=146941&package_id=165720&release_id=414102 The new bundles are: 1. standardRailsMar2007 - Rails 1.2.3 + Ruby 1.8.6 2. usr_local.locobundle - runs _your_ local ruby install. The bundle itself provides nothing beyond what is required for Locomotive to find your /usr/local ruby and rails. 3. macports.locobundle - runs _your_ macports ruby install (and assumes you are using the default /opt/local location for macports). The bundle itself provides nothing beyond what is required for Locomotive to find your macports ruby and rails. Happy Coding! -r -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X From loriolson at mac.com Sat Mar 17 20:55:28 2007 From: loriolson at mac.com (Lori M Olson) Date: Sat Mar 17 20:55:35 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: References: Message-ID: Are you going to be releasing a bundle of #1 + RMagick again? Regards, Lori On 17-Mar-07, at 10:13 AM, Ryan Raaum wrote: > Hi All, > > There are new bundles on the sourceforge site (I've not yet updated > the Locomotive bundles page). > > See here: > http://sourceforge.net/project/showfiles.php? > group_id=146941&package_id=165720&release_id=414102 > > The new bundles are: > > 1. standardRailsMar2007 - Rails 1.2.3 + Ruby 1.8.6 > > 2. usr_local.locobundle - runs _your_ local ruby install. The bundle > itself provides nothing beyond what is required for Locomotive to find > your /usr/local ruby and rails. > > 3. macports.locobundle - runs _your_ macports ruby install (and > assumes you are using the default /opt/local location for macports). > The bundle itself provides nothing beyond what is required for > Locomotive to find your macports ruby and rails. > > Happy Coding! > > -r > > -- > Ryan Raaum > http://raaum.org > http://rails.raaum.org -- Rails docs > http://locomotive.raaum.org -- Self contained Rails for Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From ryan.raaum at gmail.com Sat Mar 17 23:36:01 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sat Mar 17 23:36:05 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: References: Message-ID: On 3/17/07, Lori M Olson wrote: > Are you going to be releasing a bundle of #1 + RMagick again? Yup... takes a little longer to build though :) -r > > Regards, Lori > > On 17-Mar-07, at 10:13 AM, Ryan Raaum wrote: > > > Hi All, > > > > There are new bundles on the sourceforge site (I've not yet updated > > the Locomotive bundles page). > > > > See here: > > http://sourceforge.net/project/showfiles.php? > > group_id=146941&package_id=165720&release_id=414102 > > > > The new bundles are: > > > > 1. standardRailsMar2007 - Rails 1.2.3 + Ruby 1.8.6 > > > > 2. usr_local.locobundle - runs _your_ local ruby install. The bundle > > itself provides nothing beyond what is required for Locomotive to find > > your /usr/local ruby and rails. > > > > 3. macports.locobundle - runs _your_ macports ruby install (and > > assumes you are using the default /opt/local location for macports). > > The bundle itself provides nothing beyond what is required for > > Locomotive to find your macports ruby and rails. > > > > Happy Coding! > > > > -r > > > > -- > > Ryan Raaum > > http://raaum.org > > http://rails.raaum.org -- Rails docs > > http://locomotive.raaum.org -- Self contained Rails for Mac OS X > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X From ryan.raaum at gmail.com Mon Mar 19 00:31:47 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Mon Mar 19 00:31:53 2007 Subject: [Locomotive-users] Free Image In-Reply-To: References: Message-ID: On 3/16/07, Nathan Herald wrote: > Hello, > > I would like to suggest adding FreeImage to the bundle. > http://freeimage.sourceforge.net/ Hi Nathan, freeimage is now in the "rmagick" bundles (will be available later tonight). I tried adding the image_science bindings gem as well but it uses RubyInline (which is a tremendously clever hack, but a monstrously bad idea for any kind of packaging or deployment...) -r > > Thanx for all the hard work and great software. > -- > > Nathan Herald > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X From ryan.raaum at gmail.com Mon Mar 19 01:46:28 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Mon Mar 19 01:46:31 2007 Subject: [Locomotive-users] New RMagick Bundles with Ruby 1.8.6 and Rails 1.2.3 Message-ID: Hi all, There are now new RMagick bundles on the sourceforge downloads page For PowerPC Macs: RMagickRailsMar2007-ppc For Intel Macs: RMagickRailsMar2007-x86 These are both 10.4 only. http://sourceforge.net/project/showfiles.php?group_id=146941&package_id=165720&release_id=414102 I'll add them to the Locomotive Bundles page soon... Best, -r -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X From loriolson at mac.com Mon Mar 19 04:27:55 2007 From: loriolson at mac.com (Lori M Olson) Date: Mon Mar 19 04:28:03 2007 Subject: [Locomotive-users] New RMagick Bundles with Ruby 1.8.6 and Rails 1.2.3 In-Reply-To: References: Message-ID: <9F556C60-A3B6-4D41-BF62-830387A4E47F@mac.com> Thanks Ryan! Lori On 18-Mar-07, at 7:46 PM, Ryan Raaum wrote: > Hi all, > > There are now new RMagick bundles on the sourceforge downloads page > > For PowerPC Macs: RMagickRailsMar2007-ppc > For Intel Macs: RMagickRailsMar2007-x86 > > These are both 10.4 only. > > http://sourceforge.net/project/showfiles.php? > group_id=146941&package_id=165720&release_id=414102 > > I'll add them to the Locomotive Bundles page soon... > > Best, > > -r > > -- > Ryan Raaum > http://raaum.org > http://rails.raaum.org -- Rails docs > http://locomotive.raaum.org -- Self contained Rails for Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From adam at rokslide.com Mon Mar 19 07:47:50 2007 From: adam at rokslide.com (Adam Salter) Date: Mon Mar 19 07:47:59 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: References: Message-ID: <5ACA56A8-649A-4921-B4FE-B5C4893EBE48@rokslide.com> Ryan, The MacPorts bundle doesn't seem to be working for me... I could be doing something wrong... I'm just doing a full MacPorts update now. But I can't even see the process starting in Activity Monitor. The server definitely starts from the ./script/server though. It's starting Mongrel from the command line by default. (Could we actually have this as an option in the info panel?) On 18/03/2007, at 3:13 AM, Ryan Raaum wrote: > Hi All, > > There are new bundles on the sourceforge site (I've not yet updated > the Locomotive bundles page). > > See here: > http://sourceforge.net/project/showfiles.php? > group_id=146941&package_id=165720&release_id=414102 > > The new bundles are: > > 1. standardRailsMar2007 - Rails 1.2.3 + Ruby 1.8.6 > > 2. usr_local.locobundle - runs _your_ local ruby install. The bundle > itself provides nothing beyond what is required for Locomotive to find > your /usr/local ruby and rails. > > 3. macports.locobundle - runs _your_ macports ruby install (and > assumes you are using the default /opt/local location for macports). > The bundle itself provides nothing beyond what is required for > Locomotive to find your macports ruby and rails. > > Happy Coding! > > -r > > -- > Ryan Raaum > http://raaum.org > http://rails.raaum.org -- Rails docs > http://locomotive.raaum.org -- Self contained Rails for Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From ryan.raaum at gmail.com Mon Mar 19 10:53:14 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Mon Mar 19 10:53:18 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: <5ACA56A8-649A-4921-B4FE-B5C4893EBE48@rokslide.com> References: <5ACA56A8-649A-4921-B4FE-B5C4893EBE48@rokslide.com> Message-ID: On 3/19/07, Adam Salter wrote: > Ryan, > The MacPorts bundle doesn't seem to be working for me... > I could be doing something wrong... I'm just doing a full MacPorts > update now. But I can't even see the process starting in Activity > Monitor. > The server definitely starts from the ./script/server though. > It's starting Mongrel from the command line by default. > (Could we actually have this as an option in the info panel?) Hi Adam, Can you give me some more details? - Macports is installed in the default location? - What happens when you open a terminal from Locomotive for your app and run "ruby script/server" from that console? When you run "mongrel_rails start" from that console? - Are there any relevant error messages on the system stdout/stderr (view with /Applications/Utilities/Console.app)? - Anything else? Best, -r > > On 18/03/2007, at 3:13 AM, Ryan Raaum wrote: > > > Hi All, > > > > There are new bundles on the sourceforge site (I've not yet updated > > the Locomotive bundles page). > > > > See here: > > http://sourceforge.net/project/showfiles.php? > > group_id=146941&package_id=165720&release_id=414102 > > > > The new bundles are: > > > > 1. standardRailsMar2007 - Rails 1.2.3 + Ruby 1.8.6 > > > > 2. usr_local.locobundle - runs _your_ local ruby install. The bundle > > itself provides nothing beyond what is required for Locomotive to find > > your /usr/local ruby and rails. > > > > 3. macports.locobundle - runs _your_ macports ruby install (and > > assumes you are using the default /opt/local location for macports). > > The bundle itself provides nothing beyond what is required for > > Locomotive to find your macports ruby and rails. > > > > Happy Coding! > > > > -r > > > > -- > > Ryan Raaum > > http://raaum.org > > http://rails.raaum.org -- Rails docs > > http://locomotive.raaum.org -- Self contained Rails for Mac OS X > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X From jnylund at yahoo.com Mon Mar 19 21:36:52 2007 From: jnylund at yahoo.com (Joel Nylund) Date: Mon Mar 19 21:37:52 2007 Subject: [Locomotive-users] Re: locomotive and komodo References: Message-ID: Ryan - here is a link to the directions, you can download komodo for free also http://blogs.activestate.com/ericp/2005/10/debugging_rails.html thanks Joel From ryan.raaum at gmail.com Tue Mar 20 01:54:42 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Mar 20 01:54:46 2007 Subject: [Locomotive-users] Re: locomotive and komodo In-Reply-To: References: Message-ID: On 3/19/07, Joel Nylund wrote: > Ryan - here is a link to the directions, you can download komodo for free also > http://blogs.activestate.com/ericp/2005/10/debugging_rails.html Are there any instructions for setting up what ruby interpreter komodo uses? -r > > thanks > Joel > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X From jnylund at yahoo.com Tue Mar 20 15:08:59 2007 From: jnylund at yahoo.com (Joel Nylund) Date: Tue Mar 20 15:09:26 2007 Subject: [Locomotive-users] Re: locomotive and komodo References: Message-ID: Yes, I did that and it seems to work fine for regular ruby programs (you can do in prefs, languages, ruby, use this interpreter feature, i just point to the locomotive ruby bundle executable. (did this in rad rails also). The question is more how/what server you use under the covers and how to start it, is it mongrel or webrick or something else and is there a way to invoke it from the command line instead of the button in locomotive? I need to start a server within the context of komodo to debug a rails app. thanks Joel From mark.m.fredrickson at gmail.com Tue Mar 20 15:20:09 2007 From: mark.m.fredrickson at gmail.com (Mark Fredrickson) Date: Tue Mar 20 15:20:13 2007 Subject: [Locomotive-users] Re: locomotive and komodo In-Reply-To: References: Message-ID: <3db8a8970703200820s5ec7e8b4mbd3af8bfca9b55ab@mail.gmail.com> If memory serves, loco just kicks off script/server for you. I would see two options then: 1. Edit script/server to bind to komodo in some way (good luck) 2. Get komodo to invoke RAILS_PATH/script/server for you. You'll probably also want to make sure that Komodo is setting your environment variables correctly. Probably the easiest way is to create a ~/.MacOSX/environment.plist that matches the info in the bundle's environment.plist. Basically, this is just a key-value mapping of environment variables. Eg. here's mine (I use it to control where gems go and ssh agent stuff): CVS_RSH ssh GEM_HOME /Users/mark/Sync/gems GEM_PATH /Users/mark/Sync/gems:/opt/local/lib/ruby/gems/1.8 PATH /Users/mark/bin:/Users/mark/Sync/gems/bin:/opt/local/lib/mysql5/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin/:/bin:/sbin SSH_AUTH_SOCK /tmp/501/SSHKeychain.socket > The question is more how/what server you use under the covers and how to start > it, is it mongrel or webrick or something else and is there a way to invoke it > from the command line instead of the button in locomotive? Start a terminal in loco. $ script/server Good luck, -M From colin.nederkoorn at pintmaster.com Thu Mar 22 14:34:31 2007 From: colin.nederkoorn at pintmaster.com (Colin Nederkoorn) Date: Thu Mar 22 14:34:43 2007 Subject: [Locomotive-users] text_field_with_auto_complete Message-ID: <9DB4464E-655E-4B5C-BCEA-7399B67E2732@pintmaster.com> I was running through the tutorial below for text_field_with_auto_complete and applying it to my own system. http://www.ccjr.name/blog/2005/10/16/rails-ajax-autocomplete/ I have two rails environments... one running on an ubuntu server and one in Locomotive. The set up is identical, however my Locomotive install wont produce the drop down menu like my ubuntu box will. The expected behavior is viewable at: http://ivcalc.method-seven.com/ companies/ . In Locomotive (running Standard rails Feb or Mar, 2007) the text box does nothing when you type. Again this is the same code running on two identical environments (except for one is Locomotive on the Mac and one is on Ubuntu). Can anyone help me figure this one out? Thanks in advance, Colin From colin.nederkoorn at pintmaster.com Fri Mar 23 13:33:18 2007 From: colin.nederkoorn at pintmaster.com (Colin Nederkoorn) Date: Fri Mar 23 13:33:24 2007 Subject: [Locomotive-users] text_field_with_auto_complete Message-ID: I ended up fixing it. I think it might have been a different version of rails installed among other things. From adam at rokslide.com Sun Mar 25 02:18:02 2007 From: adam at rokslide.com (Adam Salter) Date: Sun Mar 25 02:18:08 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: References: <5ACA56A8-649A-4921-B4FE-B5C4893EBE48@rokslide.com> Message-ID: <5A705093-E679-45F3-B4D9-242E045B6236@rokslide.com> Sorry been busy. It's a standard MacPorts install as far as I know. Both those commands work from the Terminal as described. Although when I do "mongrel_rails start" I get a small error msg: /opt/local/bin/mongrel_rails:17:Warning: require_gem is obsolete. Use gem instead. But then it starts ok... In the console.log I get this from Locomotive: Starting mongrel on http://localhost:3000 in development mode pid: on startup and: /Developer/Applications/Locomotive2/Bundles/macports.locobundle/bin/ terminate:168:in `get_pid': Could not find pid file: /Users/adam/ Sites/rails/cybertrib.es/log/locomotive.pid (TerminateApp::PidFileMissingError) from /Developer/Applications/Locomotive2/Bundles/macports.locobundle/ bin/terminate:117:in `initialize' from /Developer/Applications/Locomotive2/Bundles/macports.locobundle/ bin/terminate:188:in `new' from /Developer/Applications/Locomotive2/Bundles/macports.locobundle/ bin/terminate:188 on shutdown?? As I said I can use the full bundles ok, but would prefer this if I could get it working... On 19/03/2007, at 9:53 PM, Ryan Raaum wrote: > On 3/19/07, Adam Salter wrote: >> Ryan, >> The MacPorts bundle doesn't seem to be working for me... >> I could be doing something wrong... I'm just doing a full MacPorts >> update now. But I can't even see the process starting in Activity >> Monitor. >> The server definitely starts from the ./script/server though. >> It's starting Mongrel from the command line by default. >> (Could we actually have this as an option in the info panel?) > > Hi Adam, > > Can you give me some more details? > > - Macports is installed in the default location? > > - What happens when you open a terminal from Locomotive for your app > and run "ruby script/server" from that console? When you run > "mongrel_rails start" from that console? > > - Are there any relevant error messages on the system stdout/stderr > (view with /Applications/Utilities/Console.app)? > > - Anything else? > > Best, > > -r > >> >> On 18/03/2007, at 3:13 AM, Ryan Raaum wrote: >> >> > Hi All, >> > >> > There are new bundles on the sourceforge site (I've not yet updated >> > the Locomotive bundles page). >> > >> > See here: >> > http://sourceforge.net/project/showfiles.php? >> > group_id=146941&package_id=165720&release_id=414102 >> > >> > The new bundles are: >> > >> > 1. standardRailsMar2007 - Rails 1.2.3 + Ruby 1.8.6 >> > >> > 2. usr_local.locobundle - runs _your_ local ruby install. The >> bundle >> > itself provides nothing beyond what is required for Locomotive >> to find >> > your /usr/local ruby and rails. >> > >> > 3. macports.locobundle - runs _your_ macports ruby install (and >> > assumes you are using the default /opt/local location for >> macports). >> > The bundle itself provides nothing beyond what is required for >> > Locomotive to find your macports ruby and rails. >> > >> > Happy Coding! >> > >> > -r >> > >> > -- >> > Ryan Raaum >> > http://raaum.org >> > http://rails.raaum.org -- Rails docs >> > http://locomotive.raaum.org -- Self contained Rails for Mac OS X >> > _______________________________________________ >> > Locomotive-users mailing list >> > Locomotive-users@lists.raaum.org >> > http://lists.raaum.org/mailman/listinfo/locomotive-users >> _______________________________________________ >> Locomotive-users mailing list >> Locomotive-users@lists.raaum.org >> http://lists.raaum.org/mailman/listinfo/locomotive-users >> > > > -- > Ryan Raaum > http://raaum.org > http://rails.raaum.org -- Rails docs > http://locomotive.raaum.org -- Self contained Rails for Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From adam.q.salter at gmail.com Sun Mar 25 02:13:40 2007 From: adam.q.salter at gmail.com (Adam Salter) Date: Sun Mar 25 02:28:51 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: References: <5ACA56A8-649A-4921-B4FE-B5C4893EBE48@rokslide.com> Message-ID: <6C5241DF-B4BD-4B3B-AD62-75519D9F0B8B@gmail.com> Sorry been busy. It's a standard MacPorts install as far as I know. Both those commands work from the Terminal as described. Although when I do "mongrel_rails start" I get a small error msg: /opt/local/bin/mongrel_rails:17:Warning: require_gem is obsolete. Use gem instead. But then it starts ok... In the console.log I get this from Locomotive: Starting mongrel on http://localhost:3000 in development mode pid: on startup and: /Developer/Applications/Locomotive2/Bundles/macports.locobundle/bin/ terminate:168:in `get_pid': Could not find pid file: /Users/adam/ Sites/rails/cybertrib.es/log/locomotive.pid (TerminateApp::PidFileMissingError) from /Developer/Applications/Locomotive2/Bundles/macports.locobundle/ bin/terminate:117:in `initialize' from /Developer/Applications/Locomotive2/Bundles/macports.locobundle/ bin/terminate:188:in `new' from /Developer/Applications/Locomotive2/Bundles/macports.locobundle/ bin/terminate:188 on shutdown?? As I said I can use the full bundles ok, but would prefer this if I could get it working... On 19/03/2007, at 9:53 PM, Ryan Raaum wrote: > On 3/19/07, Adam Salter wrote: >> Ryan, >> The MacPorts bundle doesn't seem to be working for me... >> I could be doing something wrong... I'm just doing a full MacPorts >> update now. But I can't even see the process starting in Activity >> Monitor. >> The server definitely starts from the ./script/server though. >> It's starting Mongrel from the command line by default. >> (Could we actually have this as an option in the info panel?) > > Hi Adam, > > Can you give me some more details? > > - Macports is installed in the default location? > > - What happens when you open a terminal from Locomotive for your app > and run "ruby script/server" from that console? When you run > "mongrel_rails start" from that console? > > - Are there any relevant error messages on the system stdout/stderr > (view with /Applications/Utilities/Console.app)? > > - Anything else? > > Best, > > -r > >> >> On 18/03/2007, at 3:13 AM, Ryan Raaum wrote: >> >> > Hi All, >> > >> > There are new bundles on the sourceforge site (I've not yet updated >> > the Locomotive bundles page). >> > >> > See here: >> > http://sourceforge.net/project/showfiles.php? >> > group_id=146941&package_id=165720&release_id=414102 >> > >> > The new bundles are: >> > >> > 1. standardRailsMar2007 - Rails 1.2.3 + Ruby 1.8.6 >> > >> > 2. usr_local.locobundle - runs _your_ local ruby install. The >> bundle >> > itself provides nothing beyond what is required for Locomotive >> to find >> > your /usr/local ruby and rails. >> > >> > 3. macports.locobundle - runs _your_ macports ruby install (and >> > assumes you are using the default /opt/local location for >> macports). >> > The bundle itself provides nothing beyond what is required for >> > Locomotive to find your macports ruby and rails. >> > >> > Happy Coding! >> > >> > -r >> > >> > -- >> > Ryan Raaum >> > http://raaum.org >> > http://rails.raaum.org -- Rails docs >> > http://locomotive.raaum.org -- Self contained Rails for Mac OS X >> > _______________________________________________ >> > Locomotive-users mailing list >> > Locomotive-users@lists.raaum.org >> > http://lists.raaum.org/mailman/listinfo/locomotive-users >> _______________________________________________ >> Locomotive-users mailing list >> Locomotive-users@lists.raaum.org >> http://lists.raaum.org/mailman/listinfo/locomotive-users >> > > > -- > Ryan Raaum > http://raaum.org > http://rails.raaum.org -- Rails docs > http://locomotive.raaum.org -- Self contained Rails for Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From ryan.raaum at gmail.com Sun Mar 25 02:30:11 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sun Mar 25 02:30:18 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: <5A705093-E679-45F3-B4D9-242E045B6236@rokslide.com> References: <5ACA56A8-649A-4921-B4FE-B5C4893EBE48@rokslide.com> <5A705093-E679-45F3-B4D9-242E045B6236@rokslide.com> Message-ID: On 3/24/07, Adam Salter wrote: > Sorry been busy. > > It's a standard MacPorts install as far as I know. > > Both those commands work from the Terminal as described. > Although when I do "mongrel_rails start" I get a small error msg: > /opt/local/bin/mongrel_rails:17:Warning: require_gem is obsolete. > Use gem instead. > But then it starts ok... > > In the console.log I get this from Locomotive: > Starting mongrel on http://localhost:3000 in development mode > pid: > > on startup and: > /Developer/Applications/Locomotive2/Bundles/macports.locobundle/bin/ > terminate:168:in `get_pid': Could not find pid file: /Users/adam/ > Sites/rails/cybertrib.es/log/locomotive.pid > (TerminateApp::PidFileMissingError) > from /Developer/Applications/Locomotive2/Bundles/macports.locobundle/ > bin/terminate:117:in `initialize' > from /Developer/Applications/Locomotive2/Bundles/macports.locobundle/ > bin/terminate:188:in `new' > from /Developer/Applications/Locomotive2/Bundles/macports.locobundle/ > bin/terminate:188 > > on shutdown?? > > As I said I can use the full bundles ok, but would prefer this if I > could get it working... What version is your mongrel? Are you on intel or ppc? -r > > On 19/03/2007, at 9:53 PM, Ryan Raaum wrote: > > > On 3/19/07, Adam Salter wrote: > >> Ryan, > >> The MacPorts bundle doesn't seem to be working for me... > >> I could be doing something wrong... I'm just doing a full MacPorts > >> update now. But I can't even see the process starting in Activity > >> Monitor. > >> The server definitely starts from the ./script/server though. > >> It's starting Mongrel from the command line by default. > >> (Could we actually have this as an option in the info panel?) > > > > Hi Adam, > > > > Can you give me some more details? > > > > - Macports is installed in the default location? > > > > - What happens when you open a terminal from Locomotive for your app > > and run "ruby script/server" from that console? When you run > > "mongrel_rails start" from that console? > > > > - Are there any relevant error messages on the system stdout/stderr > > (view with /Applications/Utilities/Console.app)? > > > > - Anything else? > > > > Best, > > > > -r > > > >> > >> On 18/03/2007, at 3:13 AM, Ryan Raaum wrote: > >> > >> > Hi All, > >> > > >> > There are new bundles on the sourceforge site (I've not yet updated > >> > the Locomotive bundles page). > >> > > >> > See here: > >> > http://sourceforge.net/project/showfiles.php? > >> > group_id=146941&package_id=165720&release_id=414102 > >> > > >> > The new bundles are: > >> > > >> > 1. standardRailsMar2007 - Rails 1.2.3 + Ruby 1.8.6 > >> > > >> > 2. usr_local.locobundle - runs _your_ local ruby install. The > >> bundle > >> > itself provides nothing beyond what is required for Locomotive > >> to find > >> > your /usr/local ruby and rails. > >> > > >> > 3. macports.locobundle - runs _your_ macports ruby install (and > >> > assumes you are using the default /opt/local location for > >> macports). > >> > The bundle itself provides nothing beyond what is required for > >> > Locomotive to find your macports ruby and rails. > >> > > >> > Happy Coding! > >> > > >> > -r > >> > > >> > -- > >> > Ryan Raaum > >> > http://raaum.org > >> > http://rails.raaum.org -- Rails docs > >> > http://locomotive.raaum.org -- Self contained Rails for Mac OS X > >> > _______________________________________________ > >> > Locomotive-users mailing list > >> > Locomotive-users@lists.raaum.org > >> > http://lists.raaum.org/mailman/listinfo/locomotive-users > >> _______________________________________________ > >> Locomotive-users mailing list > >> Locomotive-users@lists.raaum.org > >> http://lists.raaum.org/mailman/listinfo/locomotive-users > >> > > > > > > -- > > Ryan Raaum > > http://raaum.org > > http://rails.raaum.org -- Rails docs > > http://locomotive.raaum.org -- Self contained Rails for Mac OS X > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X From adam at rokslide.com Sun Mar 25 03:15:06 2007 From: adam at rokslide.com (Adam Salter) Date: Sun Mar 25 03:15:29 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: <5A705093-E679-45F3-B4D9-242E045B6236@rokslide.com> References: <5ACA56A8-649A-4921-B4FE-B5C4893EBE48@rokslide.com> <5A705093-E679-45F3-B4D9-242E045B6236@rokslide.com> Message-ID: <965D5CCA-9FE1-41E3-AF85-FACED5D6FEC4@rokslide.com> Ryan, I've just been having another look at this: My path is normally: PATH=/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/ bin:/sbin:/usr/bin:/usr/sbin:/Users/adam/bin which is set in .profile: export PATH=/usr/local/bin:/usr/local/sbin:$PATH:~/bin #macports export PATH=/opt/local/bin:/opt/local/sbin:$PATH export DISPLAY=:0.0 #svn export SVN_EDITOR="pico +1 --tempfile" alias e=mate but after using the terminal command in locomotive I get: PATH=/Users/adam/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/ sbin:/sbin: Don't know if that helps, -Adam On 25/03/2007, at 12:18 PM, Adam Salter wrote: > Sorry been busy. > > It's a standard MacPorts install as far as I know. > > Both those commands work from the Terminal as described. > Although when I do "mongrel_rails start" I get a small error msg: > /opt/local/bin/mongrel_rails:17:Warning: require_gem is obsolete. > Use gem instead. > But then it starts ok... > > In the console.log I get this from Locomotive: > Starting mongrel on http://localhost:3000 in development mode > pid: > > on startup and: > /Developer/Applications/Locomotive2/Bundles/macports.locobundle/bin/ > terminate:168:in `get_pid': Could not find pid file: /Users/adam/ > Sites/rails/cybertrib.es/log/locomotive.pid > (TerminateApp::PidFileMissingError) > from /Developer/Applications/Locomotive2/Bundles/ > macports.locobundle/bin/terminate:117:in `initialize' > from /Developer/Applications/Locomotive2/Bundles/ > macports.locobundle/bin/terminate:188:in `new' > from /Developer/Applications/Locomotive2/Bundles/ > macports.locobundle/bin/terminate:188 > > on shutdown?? > > As I said I can use the full bundles ok, but would prefer this if I > could get it working... > > On 19/03/2007, at 9:53 PM, Ryan Raaum wrote: > >> On 3/19/07, Adam Salter wrote: >>> Ryan, >>> The MacPorts bundle doesn't seem to be working for me... >>> I could be doing something wrong... I'm just doing a full MacPorts >>> update now. But I can't even see the process starting in Activity >>> Monitor. >>> The server definitely starts from the ./script/server though. >>> It's starting Mongrel from the command line by default. >>> (Could we actually have this as an option in the info panel?) >> >> Hi Adam, >> >> Can you give me some more details? >> >> - Macports is installed in the default location? >> >> - What happens when you open a terminal from Locomotive for your app >> and run "ruby script/server" from that console? When you run >> "mongrel_rails start" from that console? >> >> - Are there any relevant error messages on the system stdout/stderr >> (view with /Applications/Utilities/Console.app)? >> >> - Anything else? >> >> Best, >> >> -r >> >>> >>> On 18/03/2007, at 3:13 AM, Ryan Raaum wrote: >>> >>> > Hi All, >>> > >>> > There are new bundles on the sourceforge site (I've not yet >>> updated >>> > the Locomotive bundles page). >>> > >>> > See here: >>> > http://sourceforge.net/project/showfiles.php? >>> > group_id=146941&package_id=165720&release_id=414102 >>> > >>> > The new bundles are: >>> > >>> > 1. standardRailsMar2007 - Rails 1.2.3 + Ruby 1.8.6 >>> > >>> > 2. usr_local.locobundle - runs _your_ local ruby install. The >>> bundle >>> > itself provides nothing beyond what is required for Locomotive >>> to find >>> > your /usr/local ruby and rails. >>> > >>> > 3. macports.locobundle - runs _your_ macports ruby install (and >>> > assumes you are using the default /opt/local location for >>> macports). >>> > The bundle itself provides nothing beyond what is required for >>> > Locomotive to find your macports ruby and rails. >>> > >>> > Happy Coding! >>> > >>> > -r >>> > >>> > -- >>> > Ryan Raaum >>> > http://raaum.org >>> > http://rails.raaum.org -- Rails docs >>> > http://locomotive.raaum.org -- Self contained Rails for Mac OS X >>> > _______________________________________________ >>> > Locomotive-users mailing list >>> > Locomotive-users@lists.raaum.org >>> > http://lists.raaum.org/mailman/listinfo/locomotive-users >>> _______________________________________________ >>> Locomotive-users mailing list >>> Locomotive-users@lists.raaum.org >>> http://lists.raaum.org/mailman/listinfo/locomotive-users >>> >> >> >> -- >> Ryan Raaum >> http://raaum.org >> http://rails.raaum.org -- Rails docs >> http://locomotive.raaum.org -- Self contained Rails for Mac OS X >> _______________________________________________ >> Locomotive-users mailing list >> Locomotive-users@lists.raaum.org >> http://lists.raaum.org/mailman/listinfo/locomotive-users > From adam.q.salter at gmail.com Sun Mar 25 12:18:09 2007 From: adam.q.salter at gmail.com (Adam Salter) Date: Sun Mar 25 12:23:49 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: References: <5ACA56A8-649A-4921-B4FE-B5C4893EBE48@rokslide.com> <5A705093-E679-45F3-B4D9-242E045B6236@rokslide.com> Message-ID: <8BC7CA2A-447B-48B5-8F07-EA6FDE919967@gmail.com> I've fixed it... Manually changed /opt/local/bin/mongrel_rails to use 'gem' instead of 'require_gem' and now it works... Thanks for help, -Adam On 25/03/2007, at 12:30 PM, Ryan Raaum wrote: > On 3/24/07, Adam Salter wrote: >> >> Both those commands work from the Terminal as described. >> Although when I do "mongrel_rails start" I get a small error msg: >> /opt/local/bin/mongrel_rails:17:Warning: require_gem is obsolete. >> Use gem instead. From myobie at mac.com Mon Mar 26 15:38:40 2007 From: myobie at mac.com (Nathan Herald) Date: Mon Mar 26 15:38:59 2007 Subject: [Locomotive-users] Re: Free Image References: Message-ID: On 2007-03-18 20:31:47 -0400, "Ryan Raaum" said: > (which is a tremendously clever hack, but a > monstrously bad idea for any kind of packaging or deployment...) I had thought the same thing, but it does appear to run better once setup properly. Thanx for your hard work. Locomotive is really the best developing environment I have seen on any platform. -- Nathan Herald From email at daveringoen.com Tue Mar 27 23:36:57 2007 From: email at daveringoen.com (Dave Ringoen) Date: Tue Mar 27 23:37:07 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: Message-ID: Hi Ryan, In the Rmagick Mar07 i386 bundle, it looks like it's missing the fcgi gem. Dave Ringoen From ryan.raaum at gmail.com Tue Mar 27 23:49:08 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Mar 27 23:49:15 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: References: Message-ID: On 3/27/07, Dave Ringoen wrote: > Hi Ryan, > In the Rmagick Mar07 i386 bundle, it looks like it's missing the fcgi gem. > Dave Ringoen Hrm. That's not good. I'll look into it. Thanks! -r > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X From email at daveringoen.com Wed Mar 28 00:45:40 2007 From: email at daveringoen.com (Dave Ringoen) Date: Wed Mar 28 00:45:50 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: Message-ID: I see directories for it, but somehow the gem doesn't show up in a "gem --list local", and dispatch.fcgi can't find it. On 3/27/07 5:49 PM, "Ryan Raaum" wrote: > On 3/27/07, Dave Ringoen wrote: >> Hi Ryan, >> In the Rmagick Mar07 i386 bundle, it looks like it's missing the fcgi gem. >> Dave Ringoen > > Hrm. That's not good. I'll look into it. > > Thanks! > > -r > >> >> >> >> _______________________________________________ >> Locomotive-users mailing list >> Locomotive-users@lists.raaum.org >> http://lists.raaum.org/mailman/listinfo/locomotive-users >> > From ryan.raaum at gmail.com Wed Mar 28 02:34:26 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Mar 28 02:34:31 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: References: Message-ID: On 3/27/07, Dave Ringoen wrote: > I see directories for it, but somehow the gem doesn't show up in a "gem > --list local", and dispatch.fcgi can't find it. Oh - I believed you. And have discovered that it is, in fact, missing. I'm in the midst of uploading a bundle that actually has it... Thanks again! Ryan > > > > On 3/27/07 5:49 PM, "Ryan Raaum" wrote: > > > On 3/27/07, Dave Ringoen wrote: > >> Hi Ryan, > >> In the Rmagick Mar07 i386 bundle, it looks like it's missing the fcgi gem. > >> Dave Ringoen > > > > Hrm. That's not good. I'll look into it. > > > > Thanks! > > > > -r > > > >> > >> > >> > >> _______________________________________________ > >> Locomotive-users mailing list > >> Locomotive-users@lists.raaum.org > >> http://lists.raaum.org/mailman/listinfo/locomotive-users > >> > > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X From email at daveringoen.com Wed Mar 28 13:37:25 2007 From: email at daveringoen.com (Dave Ringoen) Date: Wed Mar 28 13:37:31 2007 Subject: [Locomotive-users] New Bundles In-Reply-To: Message-ID: Thanks, Ryan! That fixed my problem! Dave On 3/27/07 8:34 PM, "Ryan Raaum" wrote: > On 3/27/07, Dave Ringoen wrote: >> I see directories for it, but somehow the gem doesn't show up in a "gem >> --list local", and dispatch.fcgi can't find it. > > Oh - I believed you. And have discovered that it is, in fact, > missing. I'm in the midst of uploading a bundle that actually has > it... > > Thanks again! > > Ryan > >> >> >> >> On 3/27/07 5:49 PM, "Ryan Raaum" wrote: >> >>> On 3/27/07, Dave Ringoen wrote: >>>> Hi Ryan, >>>> In the Rmagick Mar07 i386 bundle, it looks like it's missing the fcgi gem. >>>> Dave Ringoen >>> >>> Hrm. That's not good. I'll look into it. >>> >>> Thanks! >>> >>> -r >>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Locomotive-users mailing list >>>> Locomotive-users@lists.raaum.org >>>> http://lists.raaum.org/mailman/listinfo/locomotive-users >>>> >>> >> >> >> _______________________________________________ >> Locomotive-users mailing list >> Locomotive-users@lists.raaum.org >> http://lists.raaum.org/mailman/listinfo/locomotive-users >> > From ponch at paulwelty.com Wed Mar 28 22:04:40 2007 From: ponch at paulwelty.com (Paul Welty) Date: Wed Mar 28 22:04:49 2007 Subject: [Locomotive-users] Loco won't start Message-ID: <3095CC3B-8D21-4B94-8672-519A32F23ED8@paulwelty.com> Oddly, and all of a sudden, Locomotive takes a really really long time to start. When I try, the dock icon bounce a while, then it stops. 5 minutes later it opens. Activity monitor reports that it isn't responding or doing anything during this time. Once it opens, and when I try to re-add my app (I trashed the prefs when it started doing this, but with no effect), it also takes a couple of minutes to do anything. I didn't make any changes to the bundles or anything between when it worked fine and when it stopped. Any ideas on how to troubleshoot this? -Paul