From ni-di at web.de Wed Aug 1 12:21:02 2007 From: ni-di at web.de (Niko Dittmann) Date: Wed Aug 1 12:21:28 2007 Subject: [Locomotive-users] Cannot launch terminal (Terminal Configuration Error) In-Reply-To: References: Message-ID: <10624BCD-A7C9-4839-976C-A1A5FD300CDC@web.de> I have the same problem as of about july 28. It work with iTerm, though. Any idea? Niko. From allenmacyoung at gmail.com Thu Aug 2 10:26:23 2007 From: allenmacyoung at gmail.com (Allen Young) Date: Thu Aug 2 10:26:29 2007 Subject: [Locomotive-users] Problems with RMagick bundle and ferret Message-ID: Hi all, I'm using RMagick Rails Bundle Mar 2007 for 10.4 PPC (with Rails 1.2.3). And because I want to use ferret and acts_as_ferret in my project, I just copyed them from the Standard Rails Bundle Mar 2007 (with Rails 1.2.3) in to RMagick bundle. After that, I tried to start the server in console, every was fine. But after I add the following line into enviroment.rb, I just couldn't start the server. require 'acts_as_ferret' The server error is: => Booting Mongrel (use 'script/server webrick' to force WEBrick)=> Rails application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... Exiting /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:15: warning: already initialized constant OPTIONS /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:18: undefined method `options' for []:Array (NoMethodError) from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require' from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in `require' from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in' from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from ./script/server:3 The strange thing is I can run the server using standard bundle. Any idea about this? allen From ryan.raaum at gmail.com Thu Aug 2 13:02:00 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Aug 2 13:02:06 2007 Subject: [Locomotive-users] Cannot launch terminal (Terminal Configuration Error) In-Reply-To: <10624BCD-A7C9-4839-976C-A1A5FD300CDC@web.de> References: <10624BCD-A7C9-4839-976C-A1A5FD300CDC@web.de> Message-ID: On 8/1/07, Niko Dittmann wrote: > I have the same problem as of about july 28. It work with iTerm, > though. > > Any idea? > Still have no idea. If you can live with iTerm, that's the only solution I have at the moment. -r > Niko. > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > From ryan.raaum at gmail.com Thu Aug 2 13:03:25 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Aug 2 13:03:31 2007 Subject: [Locomotive-users] Problems with RMagick bundle and ferret In-Reply-To: References: Message-ID: On 8/2/07, Allen Young wrote: > Hi all, > > I'm using RMagick Rails Bundle Mar 2007 for 10.4 PPC (with Rails > 1.2.3). And because I want to use ferret and acts_as_ferret in my > project, I just copyed them from the Standard Rails Bundle Mar 2007 > (with Rails 1.2.3) in to RMagick bundle. > > After that, I tried to start the server in console, every was fine. > But after I add the following line into enviroment.rb, I just couldn't > start the server. > > require 'acts_as_ferret' > > The server error is: > > => Booting Mongrel (use 'script/server webrick' to force WEBrick)=> > Rails application starting on http://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > ** Starting Mongrel listening at 0.0.0.0:3000 > ** Starting Rails with development environment... > Exiting > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:15: > warning: already initialized constant OPTIONS > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mongrel.rb:18: > undefined method `options' for []:Array (NoMethodError) > from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in > `gem_original_require' > from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in > `require' > from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in > `require' > from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in > `new_constants_in' > from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in > `require' > from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/server.rb:39 > from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > from /Applications/Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > from ./script/server:3 > > The strange thing is I can run the server using standard bundle. Any > idea about this? > I would suggest actually installing the ferret gem into the RMagick bundle rather than copying files over from another bundle. Open a terminal for an application using the RMagick bundle and run: sudo gem install ferret --include-dependencies Best, -r > > allen > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > From chadmwestfall at yahoo.com Tue Aug 7 02:31:21 2007 From: chadmwestfall at yahoo.com (Chad M. Westfall) Date: Tue Aug 7 02:31:31 2007 Subject: [Locomotive-users] (no subject) Message-ID: <82DFC397-D331-4E4B-8F0D-05BBA5706E67@yahoo.com> I have been using Locomotive for almost a year without issue, however as of recent, every time I start locomotive it takes several minutes to start. After about 30 seconds Activity Monitor reports that it is "Not Responding". It stays that way for a while then all the sudden up comes Locomotive. I only have one bundled installed currently, I've turned of check for updates. I have no idea why this is happening? Could you point me in the right direction to further debug my issue. Thanks in advance, Chad From chadmwestfall at yahoo.com Tue Aug 7 02:34:12 2007 From: chadmwestfall at yahoo.com (Chad M. Westfall) Date: Tue Aug 7 02:34:17 2007 Subject: [Locomotive-users] (no subject) In-Reply-To: <82DFC397-D331-4E4B-8F0D-05BBA5706E67@yahoo.com> References: <82DFC397-D331-4E4B-8F0D-05BBA5706E67@yahoo.com> Message-ID: <322288DE-88F2-4898-80B2-610019616280@yahoo.com> My apologies for the "no subject", I guess I need to go to bed, not thinking straight. Anyway, any help with my issue would be appreciated. -Chad On Aug 6, 2007, at 10:31 PM, Chad M. Westfall wrote: > I have been using Locomotive for almost a year without issue, > however as of recent, every time I start locomotive it takes > several minutes to start. After about 30 seconds Activity Monitor > reports that it is "Not Responding". It stays that way for a while > then all the sudden up comes Locomotive. I only have one bundled > installed currently, I've turned of check for updates. I have no > idea why this is happening? Could you point me in the right > direction to further debug my issue. > > Thanks in advance, > Chad > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From grail at goldweb.com.au Tue Aug 7 06:06:40 2007 From: grail at goldweb.com.au (Alex Satrapa) Date: Tue Aug 7 06:06:52 2007 Subject: [Locomotive-users] (no subject) In-Reply-To: <82DFC397-D331-4E4B-8F0D-05BBA5706E67@yahoo.com> References: <82DFC397-D331-4E4B-8F0D-05BBA5706E67@yahoo.com> Message-ID: On 07/08/2007, at 12:31 , Chad M. Westfall wrote: > I have been using Locomotive for almost a year without issue, > however as of recent, every time I start locomotive it takes > several minutes to start. Do you have one or more projects set to start when Locomotive is launched? From chadmwestfall at yahoo.com Tue Aug 7 11:41:09 2007 From: chadmwestfall at yahoo.com (Chad M. Westfall) Date: Tue Aug 7 11:41:16 2007 Subject: [Locomotive-users] (no subject) In-Reply-To: References: <82DFC397-D331-4E4B-8F0D-05BBA5706E67@yahoo.com> Message-ID: <913FBA6A-9DD4-4C94-9F4C-22124C9EAAD2@yahoo.com> Yes, I have several. -Chad On Aug 7, 2007, at 2:06 AM, Alex Satrapa wrote: > On 07/08/2007, at 12:31 , Chad M. Westfall wrote: > >> I have been using Locomotive for almost a year without issue, >> however as of recent, every time I start locomotive it takes >> several minutes to start. > > Do you have one or more projects set to start when Locomotive is > launched? > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From rschenk at gmail.com Tue Aug 7 12:40:02 2007 From: rschenk at gmail.com (Ryan Schenk) Date: Tue Aug 7 12:40:07 2007 Subject: [Locomotive-users] Re: (no subject) Message-ID: <1ef38bad0708070540l59115697y354dc582ef188071@mail.gmail.com> > Date: Mon, 6 Aug 2007 22:31:21 -0400 > From: "Chad M. Westfall" > > I have been using Locomotive for almost a year without issue, however > as of recent, every time I start locomotive it takes several minutes > to start. After about 30 seconds Activity Monitor reports that it is > "Not Responding". It stays that way for a while then all the sudden > up comes Locomotive. I only have one bundled installed currently, > I've turned of check for updates. I have no idea why this is > happening? Could you point me in the right direction to further > debug my issue. I have had this happen, on and off, for a while. I haven't found a solution, nor have I even found a reproducible pattern. Sometimes it'll do it, and sometimes it won't. Right now, my Locomotive starts up in a reasonable amount of time, but a month ago, using the same build of Loco, it was behaving just as you are describing. My advice would be to just "ride it out", and it will probably start behaving as expected eventually... From ryan.raaum at gmail.com Tue Aug 7 12:42:33 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Aug 7 12:42:38 2007 Subject: [Locomotive-users] Re: (no subject) In-Reply-To: <1ef38bad0708070540l59115697y354dc582ef188071@mail.gmail.com> References: <1ef38bad0708070540l59115697y354dc582ef188071@mail.gmail.com> Message-ID: On 8/7/07, Ryan Schenk wrote: > > Date: Mon, 6 Aug 2007 22:31:21 -0400 > > From: "Chad M. Westfall" > > > > I have been using Locomotive for almost a year without issue, however > > as of recent, every time I start locomotive it takes several minutes > > to start. After about 30 seconds Activity Monitor reports that it is > > "Not Responding". It stays that way for a while then all the sudden > > up comes Locomotive. I only have one bundled installed currently, > > I've turned of check for updates. I have no idea why this is > > happening? Could you point me in the right direction to further > > debug my issue. > > I have had this happen, on and off, for a while. I haven't found a > solution, nor have I even found a reproducible pattern. Sometimes > it'll do it, and sometimes it won't. Right now, my Locomotive starts > up in a reasonable amount of time, but a month ago, using the same > build of Loco, it was behaving just as you are describing. My advice > would be to just "ride it out", and it will probably start behaving as > expected eventually... I don't know for sure that anything useful will be there, but you could try looking at the system log (using Console.app - /Applications/Utilities/Console.app) to see if there are any obvious error messages that might help you. -r > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > From chadmwestfall at yahoo.com Tue Aug 7 12:47:51 2007 From: chadmwestfall at yahoo.com (Chad M. Westfall) Date: Tue Aug 7 12:47:57 2007 Subject: [Locomotive-users] Re: (no subject) In-Reply-To: References: <1ef38bad0708070540l59115697y354dc582ef188071@mail.gmail.com> Message-ID: <44FEE0C8-49C6-4616-87BB-EB5FEA5C0DCA@yahoo.com> Ryan, I took a look at both the console.log and the system.log last night. I didn't see anything obvious but I will try again, thanks! -Chad On Aug 7, 2007, at 8:42 AM, Ryan Raaum wrote: > On 8/7/07, Ryan Schenk wrote: >>> Date: Mon, 6 Aug 2007 22:31:21 -0400 >>> From: "Chad M. Westfall" >>> >>> I have been using Locomotive for almost a year without issue, >>> however >>> as of recent, every time I start locomotive it takes several minutes >>> to start. After about 30 seconds Activity Monitor reports that >>> it is >>> "Not Responding". It stays that way for a while then all the sudden >>> up comes Locomotive. I only have one bundled installed currently, >>> I've turned of check for updates. I have no idea why this is >>> happening? Could you point me in the right direction to further >>> debug my issue. >> >> I have had this happen, on and off, for a while. I haven't found a >> solution, nor have I even found a reproducible pattern. Sometimes >> it'll do it, and sometimes it won't. Right now, my Locomotive starts >> up in a reasonable amount of time, but a month ago, using the same >> build of Loco, it was behaving just as you are describing. My advice >> would be to just "ride it out", and it will probably start >> behaving as >> expected eventually... > > I don't know for sure that anything useful will be there, but you > could try looking at the system log (using Console.app - > /Applications/Utilities/Console.app) to see if there are any obvious > error messages that might help you. > > -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 grail at goldweb.com.au Tue Aug 7 23:24:15 2007 From: grail at goldweb.com.au (Alex Satrapa) Date: Tue Aug 7 23:24:31 2007 Subject: [Locomotive-users] (no subject) In-Reply-To: <913FBA6A-9DD4-4C94-9F4C-22124C9EAAD2@yahoo.com> References: <82DFC397-D331-4E4B-8F0D-05BBA5706E67@yahoo.com> <913FBA6A-9DD4-4C94-9F4C-22124C9EAAD2@yahoo.com> Message-ID: <89FC8D1A-2AA0-4A80-A47D-0C4DED941BE7@goldweb.com.au> On 07/08/2007, at 21:41 , Chad M. Westfall wrote: > Yes, I have several. If I was a gambling man, I'd put money on one of those projects doing something time-expensive at startup. Have you recently added new libraries using gem? Disable the auto-start on the projects one by one, and you'll quickly find which one is the slow starter. If it's all of them, you'll have the joy of figuring out which component you've added to your Ruby/ Rails collection is responsible for the slowdown. Alex From chadmwestfall at yahoo.com Wed Aug 8 02:43:29 2007 From: chadmwestfall at yahoo.com (Chad M. Westfall) Date: Wed Aug 8 02:43:39 2007 Subject: [Locomotive-users] (no subject) In-Reply-To: <89FC8D1A-2AA0-4A80-A47D-0C4DED941BE7@goldweb.com.au> References: <82DFC397-D331-4E4B-8F0D-05BBA5706E67@yahoo.com> <913FBA6A-9DD4-4C94-9F4C-22124C9EAAD2@yahoo.com> <89FC8D1A-2AA0-4A80-A47D-0C4DED941BE7@goldweb.com.au> Message-ID: Alex, That is a great idea! I will try it. I did recently add a few gems to my bundle. -Chad On Aug 7, 2007, at 7:24 PM, Alex Satrapa wrote: > On 07/08/2007, at 21:41 , Chad M. Westfall wrote: > >> Yes, I have several. > > If I was a gambling man, I'd put money on one of those projects > doing something time-expensive at startup. Have you recently added > new libraries using gem? > > Disable the auto-start on the projects one by one, and you'll > quickly find which one is the slow starter. If it's all of them, > you'll have the joy of figuring out which component you've added to > your Ruby/Rails collection is responsible for the slowdown. > > Alex > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From marklurie at gmail.com Wed Aug 8 15:43:37 2007 From: marklurie at gmail.com (Mark) Date: Wed Aug 8 16:10:22 2007 Subject: [Locomotive-users] can't open terminal Message-ID: Hi, I'm a newbie just trying to get locomotive up and running. I have OS X 10.3.9 on a powerbook G4. I have installed locomotive and have it open. I can create an application, but I when I try to open terminal, nothing happens. Same with 'preview in browser,' 'get info', etc. I don't even get an error message. Its just that nothing happens. Any advice? Thanks, Mark From loriolson at mac.com Wed Aug 8 16:58:35 2007 From: loriolson at mac.com (Lori M Olson) Date: Wed Aug 8 16:58:51 2007 Subject: [Locomotive-users] can't open terminal In-Reply-To: References: Message-ID: <43427976-8ED2-4039-998E-383AE5FD23DA@mac.com> Open Console.app, and see what, if any, error messages you get when you try to open a terminal. BTW, "preview in browser" won't do anything if the Rails application isn't running. Maybe you were running your application, but you didn't explicitly say that, so I thought I would cover that base. Regards, Lori On 8-Aug-07, at 9:43 AM, Mark wrote: > Hi, > > I'm a newbie just trying to get locomotive up and running. I have > OS X 10.3.9 > on a powerbook G4. I have installed locomotive and have it open. > I can create > an application, but I when I try to open terminal, nothing > happens. Same with > 'preview in browser,' 'get info', etc. I don't even get an error > message. Its > just that nothing happens. > > Any advice? > > Thanks, > > Mark > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From alarkspur at gmail.com Wed Aug 8 19:19:09 2007 From: alarkspur at gmail.com (alarkspur) Date: Wed Aug 8 19:14:18 2007 Subject: [Locomotive-users] dynamic subdomains Message-ID: <28BC402E-47BB-4531-9B35-9DF8B9BB6AF2@gmail.com> Hi, Is possible configure the file base_lighttpd.conf that it accepts dynamic subdomains??? I have writing something like server.name = "*.localhost:3000" but once taken the server the url user.localhost:3000 not found and not captured by the lighttpd. I hope to me to have explained correctly, excuse my english badly thanks From loriolson at mac.com Wed Aug 8 19:43:27 2007 From: loriolson at mac.com (Lori M Olson) Date: Wed Aug 8 19:44:02 2007 Subject: [Locomotive-users] dynamic subdomains In-Reply-To: <28BC402E-47BB-4531-9B35-9DF8B9BB6AF2@gmail.com> References: <28BC402E-47BB-4531-9B35-9DF8B9BB6AF2@gmail.com> Message-ID: <84B779EE-C146-4413-BF21-F5F2D264D0E3@mac.com> You probably need to edit your /etc/hosts file, and add "user.localhost" to the localhost line. On 8-Aug-07, at 1:19 PM, alarkspur wrote: > Hi, > > Is possible configure the file base_lighttpd.conf that it accepts > dynamic subdomains??? > I have writing something like server.name = "*.localhost:3000" > but once taken the server the url user.localhost:3000 not found and > not captured by the lighttpd. > > I hope to me to have explained correctly, excuse my english badly > > thanks > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From alarkspur at gmail.com Wed Aug 8 22:47:08 2007 From: alarkspur at gmail.com (alarkspur) Date: Wed Aug 8 22:41:57 2007 Subject: [Locomotive-users] dynamic subdomains In-Reply-To: <84B779EE-C146-4413-BF21-F5F2D264D0E3@mac.com> References: <28BC402E-47BB-4531-9B35-9DF8B9BB6AF2@gmail.com> <84B779EE-C146-4413-BF21-F5F2D264D0E3@mac.com> Message-ID: I understand, but that happens if the users register in the data base. I need to insert a registry in /etc/host by each user? RoR can write automatically in the /etc/host file??? Thanks > You probably need to edit your /etc/hosts file, and add > "user.localhost" to the localhost line. > > On 8-Aug-07, at 1:19 PM, alarkspur wrote: > >> Hi, >> >> Is possible configure the file base_lighttpd.conf that it accepts >> dynamic subdomains??? >> I have writing something like server.name = "*.localhost:3000" >> but once taken the server the url user.localhost:3000 not found >> and not captured by the lighttpd. >> >> I hope to me to have explained correctly, excuse my english badly >> >> thanks >> _______________________________________________ >> 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 grail at goldweb.com.au Wed Aug 8 23:48:04 2007 From: grail at goldweb.com.au (Alex Satrapa) Date: Wed Aug 8 23:48:30 2007 Subject: [Locomotive-users] dynamic subdomains In-Reply-To: <28BC402E-47BB-4531-9B35-9DF8B9BB6AF2@gmail.com> References: <28BC402E-47BB-4531-9B35-9DF8B9BB6AF2@gmail.com> Message-ID: <5CD4F654-ECD8-4387-BDF0-C1F698763C02@goldweb.com.au> On 09/08/2007, at 05:19 , alarkspur wrote: > Is possible configure the file base_lighttpd.conf that it accepts > dynamic subdomains??? > I have writing something like server.name = "*.localhost:3000" > but once taken the server the url user.localhost:3000 not found and > not captured by the lighttpd. Are you looking for a way to access lighttpd using name-based virtual hosts? If you have multiple names (eg: foo.local and bar.local) mapped to the same IP address (eg: 127.0.0.1), you'll need to set up lighttpd for virtual hosting: http://www.cyberciti.biz/tips/howto-lighttpd-web-server-setting-up- virtual-hosting.html You'll then need to manually update the /etc/hosts file to add the extra names to the 127.0.0.1 address (or whichever address you want to run the virtual hosts from). HTH Alex From ray at warmroom.com Thu Aug 9 00:33:00 2007 From: ray at warmroom.com (Ray Baxter) Date: Thu Aug 9 00:33:05 2007 Subject: [Locomotive-users] dynamic subdomains In-Reply-To: References: <28BC402E-47BB-4531-9B35-9DF8B9BB6AF2@gmail.com> <84B779EE-C146-4413-BF21-F5F2D264D0E3@mac.com> Message-ID: <46BA60BC.4080403@warmroom.com> alarkspur wrote: > I understand, > > but that happens if the users register in the data base. > I need to insert a registry in /etc/host by each user? > RoR can write automatically in the /etc/host file??? No, you do it the other way around. On your production system, you use wild card DNS. If your application is at example.com, then you configure your name server to return the IP address of example.com for fred.example.com, sue.example.com, and any.other.unspecified.domain.example.com. You will need to talk to whomever provides the name service for your domain about implementing wild card DNS. RoR, and your web server need to be configured to handle the routing of the subdomains, but it sounds like you have this part covered. In case you don't there is a page on wiki.rubyonrails.org that explains it. That page may be a little dated, but it should get this started. To do this on your localhost you need to make specific entries in your /etc/hosts file as Lori mentioned, or set up a nameserver on your localhost that does wild card DNS for localhost. Ray From alarkspur at gmail.com Thu Aug 9 19:17:50 2007 From: alarkspur at gmail.com (alarkspur) Date: Thu Aug 9 19:14:34 2007 Subject: [Locomotive-users] dynamic subdomains In-Reply-To: <46BA60BC.4080403@warmroom.com> References: <28BC402E-47BB-4531-9B35-9DF8B9BB6AF2@gmail.com> <84B779EE-C146-4413-BF21-F5F2D264D0E3@mac.com> <46BA60BC.4080403@warmroom.com> Message-ID: <190B306B-8E96-41D7-8F0A-1E34A8D39F40@gmail.com> thanks, alrady i understand a little to it better. a greeting. > alarkspur wrote: >> I understand, >> >> but that happens if the users register in the data base. >> I need to insert a registry in /etc/host by each user? >> RoR can write automatically in the /etc/host file??? > No, you do it the other way around. > > On your production system, you use wild card DNS. If your > application is at example.com, then you configure your name server > to return the IP address of example.com for fred.example.com, > sue.example.com, and any.other.unspecified.domain.example.com. You > will need to talk to whomever provides the name service for your > domain about implementing wild card DNS. > > RoR, and your web server need to be configured to handle the > routing of the subdomains, but it sounds like you have this part > covered. In case you don't there is a page on wiki.rubyonrails.org > that explains it. That page may be a little dated, but it should > get this started. > > To do this on your localhost you need to make specific entries in > your /etc/hosts file as Lori mentioned, or set up a nameserver on > your localhost that does wild card DNS for localhost. > > Ray > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From marklurie at post.harvard.edu Sat Aug 11 02:01:48 2007 From: marklurie at post.harvard.edu (marklurie@post.harvard.edu) Date: Sat Aug 11 02:45:27 2007 Subject: [Locomotive-users] can't open terminal Message-ID: Thanks for the reply! I went to console.app but when I try to open a terminal, nothing appears in console.app. I did notice, however, that when I start locomotive, the console.app prints dyld: ruby Undefined symbols: ruby undefined reference to _lchown expected to be defined in /usr/lib/libSystem.B.dylib Not sure if this has anything to do with it...Any more help would be greatly appreciated. thanks! Mark _________________________________ Open Console.app, and see what, if any, error messages you get when you try to open a terminal. BTW, "preview in browser" won't do anything if the Rails application isn't running. Maybe you were running your application, but you didn't explicitly say that, so I thought I would cover that base. Regards, Lori On 8-Aug-07, at 9:43 AM, Mark wrote: > Hi, > > I'm a newbie just trying to get locomotive up and running. I have > OS X 10.3.9 > on a powerbook G4. I have installed locomotive and have it open. > I can create > an application, but I when I try to open terminal, nothing > happens. Same with > 'preview in browser,' 'get info', etc. I don't even get an error > message. Its > just that nothing happens. > > Any advice? > > Thanks, > > Mark Mark Lurie MarkLurie@post.harvard.edu 617.543.6275 From lists at artcore.ch Sat Aug 11 22:05:12 2007 From: lists at artcore.ch (Yannick K) Date: Sat Aug 11 22:06:08 2007 Subject: [Locomotive-users] installing gems with lib dependencies Message-ID: <46BE3298.3060500@artcore.ch> hi! how can i install libs like id3lib-ruby. i can install them in my root gem but within locomotive it fails compaining about not finding the c libs. so there is probably some path incorrect or not set?! thanks y From pirkka at gmail.com Wed Aug 15 14:43:38 2007 From: pirkka at gmail.com (Pirkka Hartikainen) Date: Wed Aug 15 14:44:09 2007 Subject: [Locomotive-users] 1.2.x + locomotive breaks my app! Message-ID: <2b75aeb90708150743r513d213bydea5fcd91f21d974@mail.gmail.com> I have a 10k+ line application that works ok on the production server's Rails 1.2.3, but breaks when I use a Locomotive Bundle that is newer than September 2006. Mysteriously, the first page load after a restart works fine, but the second one and any further requests give this error: >> Association named 'building' was not found; perhaps you misspelled it? The problem is similar to this one: http://one.textdrive.com/pipermail/locomotive-users/2007-March/001138.html except that I do not get anything weird in the Mongrel log on the first request, and the fix outlined in the reply does not work (why would anyone use include statement outside of a class, anyway?). Any help would be greatly appreciated, I've spent couple of days trying to figure this out! Best Regards, Pirkka From sid.webnews at gmail.com Thu Aug 16 16:37:07 2007 From: sid.webnews at gmail.com (Sid Jay) Date: Thu Aug 16 16:37:16 2007 Subject: [Locomotive-users] Locomotive to Linux Message-ID: Hi guys, I initially developed an application using Locomotive on Mac OS X. I developed 2 applications which use one database. Now I would like to export them to a Linux box. How do I go about doing that. My applications use, Ruby-LDAP library and Net-SSH library. On the Linux box, I have installed Ruby gems and installed Rails successfully and also I ran the command 'gem install net-ssh' and installed that successfully. But this command 'gem install ruby-ldap' failed. Is there any reason it failed? Thanks! From r.firth at ridley.unimelb.edu.au Tue Aug 21 05:16:25 2007 From: r.firth at ridley.unimelb.edu.au (Bob Firth) Date: Tue Aug 21 05:16:30 2007 Subject: [Locomotive-users] compiling ffmpeg into a bundle Message-ID: Hi Ryan, I want to compile ffmpeg into a locomotive bundle so that I can take it everywhere the bundle goes, how would I do that? Is it simply a matter of passing --prefix=/path/to/my/locomotive/bundle_of_choice to configure when compiling ffmpeg? thanks, Bob PS do you feel a strong desire to add ffmpeg & rmovie to your rmagick bundle and save me a job? ;-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070821/d90910bd/attachment.htm From bob.firth at gmail.com Tue Aug 21 06:24:19 2007 From: bob.firth at gmail.com (Bob Firth) Date: Tue Aug 21 06:24:26 2007 Subject: [Locomotive-users] compiling ffmpeg into a bundle Message-ID: Hi Ryan, I want to compile ffmpeg into a locomotive bundle so that I can take it everywhere the bundle goes, how would I do that? Is it simply a matter of passing --prefix=/path/to/my/locomotive/bundle_of_choice to configure when compiling ffmpeg? thanks, Bob PS do you feel a strong desire to add ffmpeg & rmovie to your rmagick bundle and save me a job? ;-) PPS sorry if this comes through twice, I accidentally sent it from my other email address before realising I'm not subscribed to that address any more. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070821/e8c03cee/attachment.htm From ryan.raaum at gmail.com Thu Aug 23 22:31:42 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Aug 23 22:31:47 2007 Subject: [Locomotive-users] compiling ffmpeg into a bundle In-Reply-To: References: Message-ID: On 8/21/07, Bob Firth wrote: > Hi Ryan, > > I want to compile ffmpeg into a locomotive bundle so that I can take it > everywhere the bundle goes, how would I do that? Is it simply a matter of > passing --prefix=/path/to/my/locomotive > /bundle_of_choice to configure when compiling ffmpeg? Yes, pretty much. If it depends on any libraries in the bundle you might set these flags as well: export MYPREFIX=/Path/To/Bundle/framework # probably something like /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework export PATH=$MYPREFIX/bin:/bin:/sbin:/usr/bin:/usr/sbin export DYLD_LIBRARY_PATH=$MYPREFIX/lib export LDFLAGS="-L$MYPREFIX/lib -headerpad_max_install_names" export CFLAGS=-I$MYPREFIX/include export CXXFLAGS=$CFLAGS export CPPFLAGS=$CXXFLAGS Best, -r > > thanks, > Bob > PS do you feel a strong desire to add ffmpeg & rmovie to your rmagick bundle > and save me a job? ;-) > PPS sorry if this comes through twice, I accidentally sent it from my other > email address before realising I'm not subscribed to that address any more. > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > From ras_kcir at mac.com Mon Aug 27 07:18:53 2007 From: ras_kcir at mac.com (Rick Shafer) Date: Mon Aug 27 07:15:06 2007 Subject: [Locomotive-users] Requiring Gems Message-ID: <629C76BF-9499-44A3-98B7-6071D68B15E6@mac.com> OK... I can see that this topic has appeared several times, at least by doing a google, but I can't seem to be able to decode/apply any of the solutions (which often seem to be "oops, now its working"... I hate that sort of solution when my situation isn't working). Here is the situation... I am running Locomotive 2.0.8 with the RMagick Rails Mar 2007 bundle. I am running on a dual G5. OS 10.4.10. I wanted to use the PDF::Writer package. So, I went into the Locomotive launched terminal window for my project and ran: gems update pdf-writer It prompted me for several dependencies (I said yes), it built two kinds of documentation (rdoc was one of them), and then I got a prompt, and assumed that it had installed... somewhere.... (I seemed to find it but it was WAY deep and in multiple places (though some of it is the rdoc.... and a CVS entry?)). The docs were in "PDF/Writer" as opposed to "pdf/writer". Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ ruby/gems/1.8/gems/pdf-writer-1.1.3/lib/pdf/writer/ The documentation for PDF::Writer included a "hello world" example, which I wanted to test. require "pdf/writer" pdf = PDF::Writer.new pdf.select_font "Times-Roman" pdf.text "Hello, Ruby.", :font_size => 24, :justification => :center pdf.save_as("hello.pdf") I saved this as a simple file testwriter.rb at the top of my rails app hierarchy, and then at the terminal prompt say ruby testwriter.rb whereupon, I get the message testwriter.rb:5:in `require': no such file to load -- pdf/writer (LoadError) from testwriter.rb:5 So, what am I doing wrong? Is it in gems? ruby? Locomotive? bad karma? Thanks for your attention. From ryan.raaum at gmail.com Mon Aug 27 10:12:26 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Mon Aug 27 10:12:31 2007 Subject: [Locomotive-users] Requiring Gems In-Reply-To: <629C76BF-9499-44A3-98B7-6071D68B15E6@mac.com> References: <629C76BF-9499-44A3-98B7-6071D68B15E6@mac.com> Message-ID: On 8/27/07, Rick Shafer wrote: > OK... I can see that this topic has appeared several times, at least > by doing a google, but I can't seem to be able to decode/apply any of > the solutions (which often seem to be "oops, now its working"... I > hate that sort of solution when my situation isn't working). > > Here is the situation... > I am running Locomotive 2.0.8 with the RMagick Rails Mar 2007 > bundle. I am running on a dual G5. OS 10.4.10. > > I wanted to use the PDF::Writer package. So, I went into the > Locomotive launched terminal window for my project and ran: > gems update pdf-writer > It prompted me for several dependencies (I said yes), it built two > kinds of documentation (rdoc was one of them), and then I got a > prompt, and assumed that it had installed... somewhere.... (I seemed > to find it but it was WAY deep and in multiple places (though some of > it is the rdoc.... and a CVS entry?)). The docs were in "PDF/Writer" > as opposed to "pdf/writer". > > Locomotive2/Bundles/rmagickRailsMar2007_ppc.locobundle/framework/lib/ > ruby/gems/1.8/gems/pdf-writer-1.1.3/lib/pdf/writer/ > > The documentation for PDF::Writer included a "hello world" example, > which I wanted to test. > require "pdf/writer" > pdf = PDF::Writer.new > pdf.select_font "Times-Roman" > pdf.text "Hello, Ruby.", :font_size => 24, :justification > => :center > pdf.save_as("hello.pdf") > > I saved this as a simple file testwriter.rb at the top of my rails > app hierarchy, and then at the terminal prompt say > > ruby testwriter.rb > > whereupon, I get the message > testwriter.rb:5:in `require': no such file to load -- pdf/writer > (LoadError) > from testwriter.rb:5 > > So, what am I doing wrong? Is it in gems? ruby? Locomotive? bad > karma? add require 'rubygems' to the beginning of that example. -r > > Thanks for your attention. > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > From ras_kcir at mac.com Mon Aug 27 23:25:09 2007 From: ras_kcir at mac.com (Rick Shafer) Date: Mon Aug 27 23:20:50 2007 Subject: [Locomotive-users] Re: Requiring Gems Message-ID: <249674F4-8A30-4D3F-8A33-E0694395005E@mac.com> It worked thanks. Am I right in presuming that within the rails app source code that the require rubygems is effectively already done automatically? Do I have require rubygems in every .rb file that uses gem installed code? From ryan.raaum at gmail.com Tue Aug 28 01:17:14 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Aug 28 01:17:19 2007 Subject: [Locomotive-users] Re: Requiring Gems In-Reply-To: <249674F4-8A30-4D3F-8A33-E0694395005E@mac.com> References: <249674F4-8A30-4D3F-8A33-E0694395005E@mac.com> Message-ID: Requiring rubygems is part of the rails startup - so you don't need to do it yourself for anything that will be run in a rails app. For non-rails ruby scripts, you will need to require rubygems yourself to use gems. -Ryan On 8/27/07, Rick Shafer wrote: > It worked thanks. Am I right in presuming that within the rails app > source code that the require rubygems is effectively already done > automatically? Do I have require rubygems in every .rb file that > uses gem installed code? > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > From listcatcher at gmail.com Tue Aug 28 06:11:52 2007 From: listcatcher at gmail.com (George Bailey) Date: Tue Aug 28 06:12:02 2007 Subject: [Locomotive-users] Locomotive now hangs at atartup Message-ID: <1D2C81C8-E5AC-4260-A341-342DD98E86FF@gmail.com> After months of flawless running Locomotive now hangs when I try to start it. There's no message in the console log. The only thing that changed in the system was I ran an Applescript from Apple that installs the script menu. Disabling it does no good. It seems hard to believe that would cause a problem, but that's the only thing that's different. I downloaded a fresh copy which also hangs at startup. I looked for a preference file to delete, but found none. Where does it store its data? Any guesses would be appreciated. A Rails app is set to be run when Locomotive starts, but I can't tell if it even gets that far. The rails app runs without problems on another server (also running Locomotive.) Thanks. -George From ponch at paulwelty.com Tue Aug 28 12:08:02 2007 From: ponch at paulwelty.com (Paul Welty) Date: Tue Aug 28 12:08:13 2007 Subject: [Locomotive-users] Locomotive now hangs at atartup In-Reply-To: <1D2C81C8-E5AC-4260-A341-342DD98E86FF@gmail.com> References: <1D2C81C8-E5AC-4260-A341-342DD98E86FF@gmail.com> Message-ID: I have had this problem off and on for months. Like you, nothing I do seems to help. Sometimes it starts normally, and sometimes it hangs indefinitely. I have some vague idea that it depends on memory. Freeing up disk space and eliminating unneeded bundles seems to help. On Aug 28, 2007, at 2:11 AM, George Bailey wrote: > > After months of flawless running Locomotive now hangs when I try to > start it. There's no message in the console log. > > The only thing that changed in the system was I ran an Applescript > from Apple that installs the script menu. Disabling it does no good. > It seems hard to believe that would cause a problem, but that's the > only thing that's different. > > I downloaded a fresh copy which also hangs at startup. I looked for > a preference file to delete, but found none. Where does it store its > data? > > Any guesses would be appreciated. A Rails app is set to be run when > Locomotive starts, but I can't tell if it even gets that far. The > rails app runs without problems on another server (also running > Locomotive.) > > Thanks. > -George > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From listcatcher at gmail.com Tue Aug 28 20:02:02 2007 From: listcatcher at gmail.com (George Bailey) Date: Tue Aug 28 20:02:15 2007 Subject: [Locomotive-users] Locomotive now hangs at atartup In-Reply-To: References: <1D2C81C8-E5AC-4260-A341-342DD98E86FF@gmail.com> Message-ID: <905DC369-E725-4786-8FD1-4B11250E3F2E@gmail.com> On Aug 28, 2007, at 6:08 AM, Paul Welty wrote: > I have had this problem off and on for months. Like you, nothing I > do seems to help. Sometimes it starts normally, and sometimes it > hangs indefinitely. I have some vague idea that it depends on > memory. Freeing up disk space and eliminating unneeded bundles > seems to help. Well I didn't change anything obvious, and now today it starts normally. If it would send some output to the console log I might be able to guess what the problem was, but it's silent. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070828/0e761bce/attachment.htm From pirkka at gmail.com Fri Aug 31 13:17:14 2007 From: pirkka at gmail.com (Pirkka Hartikainen) Date: Fri Aug 31 13:17:21 2007 Subject: [Locomotive-users] Re: 1.2.x + locomotive breaks my app! In-Reply-To: <2b75aeb90708150743r513d213bydea5fcd91f21d974@mail.gmail.com> References: <2b75aeb90708150743r513d213bydea5fcd91f21d974@mail.gmail.com> Message-ID: <2b75aeb90708310617q2edaccf3ibcf7bc37dfc0dd25@mail.gmail.com> Just in case anyone runs into the same hard-to-debug problem, it seems that data stored in session was the culprit. Some of my model classes were not required in the environment.rb, and this caused ActiveRecord objects stored in the session to lose all their specific functionality (they only had the methods of ActiveRecord, and none of their "own" methods). So, my the exact fix to my error outlined below was to add require 'building' require 'planet_building' to the config/environment.rb. Mysteriously, the production server never gave this error. Pirkka On 15/08/2007, Pirkka Hartikainen wrote: > I have a 10k+ line application that works ok on the production > server's Rails 1.2.3, but breaks when I use a Locomotive Bundle that > is newer than September 2006. > > Mysteriously, the first page load after a restart works fine, but the > second one and any further requests give this error: > > >> Association named 'building' was not found; perhaps you misspelled it? > > The problem is similar to this one: > > http://one.textdrive.com/pipermail/locomotive-users/2007-March/001138.html > > except that I do not get anything weird in the Mongrel log on the > first request, and the fix outlined in the reply does not work (why > would anyone use include statement outside of a class, anyway?). > > Any help would be greatly appreciated, I've spent couple of days > trying to figure this out! > > Best Regards, > Pirkka >