From grant at grantneufeld.ca Mon Apr 2 05:27:05 2007 From: grant at grantneufeld.ca (Grant Neufeld) Date: Mon Apr 2 05:27:43 2007 Subject: [Locomotive-users] setting the user Locomotive runs as Message-ID: I dug around a bit, but couldn't find an answer to this: How can I set Locomotive to run Rails (the various ruby, lighttpd, etc., processes) as a user other than root? If there's no way to do that currently, please consider this a request to add a locomotive.yml configuration line to set the user. Thanks. From ni-di at web.de Mon Apr 2 13:10:38 2007 From: ni-di at web.de (Niko Dittmann) Date: Mon Apr 2 13:10:53 2007 Subject: [Locomotive-users] setting the user Locomotive runs as In-Reply-To: References: Message-ID: Hi Grant. Locomotive runs Rails as the same user who starts Locomotive. If that's root on you're machine there's s/th mighty mighty wrong ;). Regards, Niko. Am 02.04.2007 um 07:27 schrieb Grant Neufeld: > I dug around a bit, but couldn't find an answer to this: > > How can I set Locomotive to run Rails (the various ruby, lighttpd, > etc., processes) as a user other than root? > > If there's no way to do that currently, please consider this a > request to add a locomotive.yml configuration line to set the user. > > Thanks. > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users -- ____________________________ niko dittmann ____________________________ From ryan.raaum at gmail.com Mon Apr 2 14:38:37 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Mon Apr 2 14:38:43 2007 Subject: [Locomotive-users] Loco won't start In-Reply-To: <3095CC3B-8D21-4B94-8672-519A32F23ED8@paulwelty.com> References: <3095CC3B-8D21-4B94-8672-519A32F23ED8@paulwelty.com> Message-ID: On 3/28/07, Paul Welty wrote: > > 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? Does turning off update checks make any difference? -r -Paul > _______________________________________________ > 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/20070402/39aa890b/attachment.htm From grant at grantneufeld.ca Mon Apr 2 17:19:18 2007 From: grant at grantneufeld.ca (Grant Neufeld) Date: Mon Apr 2 17:22:02 2007 Subject: [Locomotive-users] setting the user Locomotive runs as In-Reply-To: References: Message-ID: At 3:10 PM +0200 4/2/07, Niko Dittmann wrote: >Locomotive runs Rails as the same user who starts Locomotive. If that's root on you're machine there's s/th mighty mighty wrong ;). Sorry - I must have fumble-typed when I was using `sudo -u someuser locomotive start` last night because it seems to be working now. From email at daveringoen.com Tue Apr 3 18:01:52 2007 From: email at daveringoen.com (Dave Ringoen) Date: Tue Apr 3 18:02:02 2007 Subject: [Locomotive-users] FastCGI and Rmagick March PPC Bundle Message-ID: Ryan, I wrote you about a missing fcgi gem in the March 2007 i386 bundle, which your updated bundle fixed nicely. Now, I'm having a similar problem with the Rmagic March PPC bundle. It also was missing fcgi, which I installed myself, but then got the following error spray: Any thoughts? [03/Apr/2007:11:20:20 :: 2322] starting [03/Apr/2007:11:20:20 :: 2322] Dispatcher failed to catch: You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.split (NoMethodError) /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/1.8/cgi.rb:898:in `parse' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/c gi_ext/raw_post_data_fix.rb:45:in `initialize_query' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/1.8/cgi.rb:2275:in `initialize' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in `new' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in `each_cgi' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:141:in `process_each_request!' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:55:in `process!' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:25:in `process!' ./dispatch.fcgi:24 almost killed by this error [03/Apr/2007:11:20:20 :: 2322] Dispatcher failed to catch: You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.split (NoMethodError) /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/1.8/cgi.rb:898:in `parse' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/c gi_ext/raw_post_data_fix.rb:45:in `initialize_query' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/1.8/cgi.rb:2275:in `initialize' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in `new' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in `each_cgi' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:141:in `process_each_request!' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:55:in `process!' /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobun dle/powerpc/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:25:in `process!' ./dispatch.fcgi:24 killed by this error -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070403/e6cadd09/attachment.htm From ryan.raaum at gmail.com Tue Apr 3 20:52:48 2007 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Apr 3 20:52:52 2007 Subject: [Locomotive-users] FastCGI and Rmagick March PPC Bundle In-Reply-To: References: Message-ID: On 4/3/07, Dave Ringoen wrote: > > Ryan, > > I wrote you about a missing fcgi gem in the March 2007 i386 bundle, which > your updated bundle fixed nicely. Now, I'm having a similar problem with the > Rmagic March PPC bundle. It also was missing fcgi, which I installed myself, > but then got the following error spray: Any thoughts? Hi Dave, No idea off the top of my head. Also, I will be in Yemen for the next 6 weeks, so I won't really be in touch... Best, -r > > > [03/Apr/2007:11:20:20 :: 2322] starting > [03/Apr/2007:11:20:20 :: 2322] Dispatcher failed to catch: You have a nil > object when you didn't expect it! > You might have expected an instance of Array. > The error occurred while evaluating nil.split (NoMethodError) > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/1.8/cgi.rb:898:in > `parse' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/cgi_ext/raw_post_data_fix.rb:45:in > `initialize_query' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/1.8/cgi.rb:2275:in > `initialize' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in > `new' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in > `each_cgi' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:141:in > `process_each_request!' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:55:in > `process!' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:25:in > `process!' > ./dispatch.fcgi:24 > almost killed by this error > [03/Apr/2007:11:20:20 :: 2322] Dispatcher failed to catch: You have a nil > object when you didn't expect it! > You might have expected an instance of Array. > The error occurred while evaluating nil.split (NoMethodError) > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/1.8/cgi.rb:898:in > `parse' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/cgi_ext/raw_post_data_fix.rb:45:in > `initialize_query' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/1.8/cgi.rb:2275:in > `initialize' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in > `new' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/fcgi-0.8.7/lib/fcgi.rb:606:in > `each_cgi' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:141:in > `process_each_request!' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:55:in > `process!' > /Users/dringoen/Development/Locomotive2/Bundles/standardRailsMar2007.locobundle/powerpc/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:25:in > `process!' > ./dispatch.fcgi:24 > killed by this error > > _______________________________________________ > 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 dummied at gmail.com Wed Apr 4 20:14:42 2007 From: dummied at gmail.com (Chris Vannoy) Date: Wed Apr 4 20:14:51 2007 Subject: [Locomotive-users] Locomotive and account_location Message-ID: I'd like to test out the account_location plugin locally, but I'm having some trouble figuring out how to get subdomains and Locomotive to play nicely together. Anyone have any ideas or suggestions? Google hasn't been very helpful so far ... Chris http://www.dummied.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070404/fe7580e6/attachment.htm From chris at integralimpressions.com Wed Apr 4 20:31:36 2007 From: chris at integralimpressions.com (Chris Abad) Date: Wed Apr 4 20:31:50 2007 Subject: [Locomotive-users] Locomotive and account_location In-Reply-To: References: Message-ID: You're going to have to force the dns of those subdomains to point back to 127.0.0.1, or mock out the subdomains somewhere in your code. I do the first one. An easy way to setup these host entries is using NetInfo. That's what I do. On Apr 4, 2007, at 1:14 PM, Chris Vannoy wrote: I'd like to test out the account_location plugin locally, but I'm having some trouble figuring out how to get subdomains and Locomotive to play nicely together. Anyone have any ideas or suggestions? Google hasn't been very helpful so far ... Chris http://www.dummied.org/ _______________________________________________ Locomotive-users mailing list Locomotive-users@lists.raaum.org http://lists.raaum.org/mailman/listinfo/locomotive-users -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2441 bytes Desc: not available Url : http://one.textdrive.com/pipermail/locomotive-users/attachments/20070404/bc3ecaf3/smime.bin From dummied at gmail.com Wed Apr 4 20:33:53 2007 From: dummied at gmail.com (Chris Vannoy) Date: Wed Apr 4 20:33:58 2007 Subject: [Locomotive-users] Locomotive and account_location In-Reply-To: References: Message-ID: Thanks for the quick response. It turned into one of those things where I figured it out right after I sent the e-mail. I also went the first route (went to etc/hosts manually instead of NetInfo ... but same idea). On 4/4/07, Chris Abad wrote: > > You're going to have to force the dns of those subdomains to point > back to 127.0.0.1, or mock out the subdomains somewhere in your code. > I do the first one. > > An easy way to setup these host entries is using NetInfo. That's what > I do. > > On Apr 4, 2007, at 1:14 PM, Chris Vannoy wrote: > > I'd like to test out the account_location plugin locally, but I'm > having some trouble figuring out how to get subdomains and Locomotive > to play nicely together. > > Anyone have any ideas or suggestions? Google hasn't been very helpful > so far ... > > Chris > http://www.dummied.org/ > _______________________________________________ > 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/20070404/bcb97b26/attachment.htm From ponch at paulwelty.com Fri Apr 6 15:15:42 2007 From: ponch at paulwelty.com (Paul Welty) Date: Fri Apr 6 15:15:53 2007 Subject: [Locomotive-users] Loco won't start In-Reply-To: References: <3095CC3B-8D21-4B94-8672-519A32F23ED8@paulwelty.com> Message-ID: Well, that made it open faster. But, sometimes it opens faster the second time anyway. Sometimes it doesn't. Real helpful, ain't I? :/ -Paul On Apr 2, 2007, at 10:38 AM, Ryan Raaum wrote: > > > On 3/28/07, Paul Welty wrote: > 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? > > > Does turning off update checks make any difference? > > -r > > -Paul > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070406/df2736ef/attachment.htm From ponch at paulwelty.com Fri Apr 6 17:35:01 2007 From: ponch at paulwelty.com (Paul Welty) Date: Fri Apr 6 17:35:07 2007 Subject: [Locomotive-users] Loco app stalls Message-ID: If I don't make a Rails request for a few minutes, the application seems to stall completely. Stopping and starting the app in Locomotive doesn't have any effect. The only thing that will work is to search for mongrel processes and kill -9 them from the terminal. Once I've don't that, I can restart the app in Locomotive and things are back to normal. This has been going on for many months, but it's kind of frustrating. So, I thought I'd ask if anyone else sees this and if there is a fix or workaround? -Paul From mark at thejavapros.net Sat Apr 7 21:12:45 2007 From: mark at thejavapros.net (Mark) Date: Sat Apr 7 21:15:16 2007 Subject: [Locomotive-users] Using Locomotive Ruby install as system (Mac OS X) default Ruby install Message-ID: I launch a terminal from Locomotive and try to execute a simple ruby script using active_record and it can't find the gem. Any ideas?: CODE: require "active_record" ActiveRecord::Base.establish_connection(:adapter => "mysql", :username => "root", :password => "", :database => "depot_development", :host => "localhost") class SomeTable < ActiveRecord::Base end RESULT: peshawar:~/rubystuff/code mark$ ruby tdb.rb tdb.rb:1:in `require': no such file to load -- active_record (LoadError) from tdb.rb:1 peshawar:~/rubystuff/code mark$ set BASH=/bin/bash BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="powerpc-apple-darwin8.0") BASH_VERSION='2.05b.0(1)-release' CFLAGS= -I/Applications/Locomotive2/Bundles/standardRailsJan2007. locobundle/powerpc/include COLUMNS=101 CPPFLAGS= -I/Applications/Locomotive2/Bundles/standardRailsJan2007. locobundle/powerpc/include CXXFLAGS= -I/Applications/Locomotive2/Bundles/standardRailsJan2007. locobundle/powerpc/include DIRSTACK=() DYLD_FALLBACK_LIBRARY_PATH= /Applications/Locomotive2/Bundles/standardRailsJan2007. locobundle/powerpc/lib:/usr/lib EUID=502 GROUPS=() HISTFILE=/Users/mark/.bash_history HISTFILESIZE=500 HISTSIZE=500 HOME=/Users/mark HOSTNAME=peshawar.local HOSTTYPE=powerpc IFS=$' \t\n' LDFLAGS='-L/Applications/Locomotive2/Bundles/standardRailsJan2007. locobundle/powerpc/lib -headerpad_max_install_names' LINES=46 LOCOMOTIVE_VERSION=2.0.8 LOGNAME=mark MACHTYPE=powerpc-apple-darwin8.0 MAILCHECK=60 OLDPWD=/Users/mark/rubystuff OPTERR=1 OPTIND=1 OSTYPE=darwin8.0 PATH=/Applications/Locomotive2/Bundles/standardRailsJan2007. locobundle/powerpc/bin: /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/powerpc/sbin: /Users/mark/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin: PIPESTATUS=([0]="1") PPID=9887 PS1='\h:\w \u\$ ' PS2='> ' PS4='+ ' PWD=/Users/mark/rubystuff/code RUBYLIB= /Applications/Locomotive2/Bundles/standardRailsJan2007. locobundle/powerpc/lib/ruby/site_ruby/1.8: /Applications/Locomotive2/Bundles/standardRailsJan2007. locobundle/powerpc/lib/ruby/site_ruby/1.8/powerpc-darwin7.9.0: /Applications/Locomotive2/Bundles/standardRailsJan2007. locobundle/powerpc/lib/ruby/1.8 :/Applications/Locomotive2/Bundles/standardRailsJan2007. locobundle/powerpc/lib/ruby/1.8/powerpc-darwin7.9.0 SECURITYSESSIONID=508b10 SHELL=/bin/bash SHLVL=1 TERM=xterm-color TERM_PROGRAM=Apple_Terminal TERM_PROGRAM_VERSION=133 UID=502 USER=mark _=tdb.rb __CF_USER_TEXT_ENCODING=0x1F6:0:0 peshawar:~/rubystuff/code mark$ From ponch at paulwelty.com Sun Apr 8 22:35:37 2007 From: ponch at paulwelty.com (Paul Welty) Date: Sun Apr 8 22:35:49 2007 Subject: [Locomotive-users] Anyone using ferret with Locomotive? Message-ID: I tried installing it, but I can't get it to work. I can install ferret (it has to be compiled) and acts_as_ferret. But, following the basic examples, it always hangs up on server start complaining about Failed to load /Applications/Locomotive2/Bundles/ rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/ ferret-0.11.4/lib/ferret_ext.bundle (LoadError) I'm wondering if it's just not compatible? -Paul From ponch at paulwelty.com Mon Apr 9 14:46:26 2007 From: ponch at paulwelty.com (Paul Welty) Date: Mon Apr 9 14:46:34 2007 Subject: [Locomotive-users] Anyone using ferret with Locomotive? In-Reply-To: References: Message-ID: <2D46EA86-E9B4-4C4C-A6C8-B48220FADB84@paulwelty.com> If this helps any, I got the Ferret demo from here svn://projects.jkraemer.net/acts_as_ferret/trunk/demo And it fails with exactly the same error when run from Locomotive. -Paul On Apr 8, 2007, at 6:35 PM, Paul Welty wrote: > I tried installing it, but I can't get it to work. I can install > ferret (it has to be compiled) and acts_as_ferret. But, following > the basic examples, it always hangs up on server start complaining > about > > Failed to load /Applications/Locomotive2/Bundles/ > rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/ > gems/ferret-0.11.4/lib/ferret_ext.bundle (LoadError) > > I'm wondering if it's just not compatible? > > -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/20070409/7ac4bea8/attachment.htm From ponch at paulwelty.com Mon Apr 9 16:20:45 2007 From: ponch at paulwelty.com (Paul Welty) Date: Mon Apr 9 16:20:52 2007 Subject: [Locomotive-users] Anyone using ferret with Locomotive? In-Reply-To: <2D46EA86-E9B4-4C4C-A6C8-B48220FADB84@paulwelty.com> References: <2D46EA86-E9B4-4C4C-A6C8-B48220FADB84@paulwelty.com> Message-ID: I looked at this ferret_ext.bundle file, and it says "bundle (PowerPC)". So.....now I'm wondering if this is a general OS X issue. Maybe there is no compatible version for an Intel mac. There isn't much on the 'net about this, unfortunately. -P On Apr 9, 2007, at 10:46 AM, Paul Welty wrote: > If this helps any, I got the Ferret demo from here > > svn://projects.jkraemer.net/acts_as_ferret/trunk/demo > > And it fails with exactly the same error when run from Locomotive. > > -Paul > > On Apr 8, 2007, at 6:35 PM, Paul Welty wrote: > >> I tried installing it, but I can't get it to work. I can install >> ferret (it has to be compiled) and acts_as_ferret. But, following >> the basic examples, it always hangs up on server start complaining >> about >> >> Failed to load /Applications/Locomotive2/Bundles/ >> rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/ >> gems/ferret-0.11.4/lib/ferret_ext.bundle (LoadError) >> >> I'm wondering if it's just not compatible? >> >> -Paul >> >> _______________________________________________ >> 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/20070409/e265727d/attachment.htm From jay at monkeyfingers.org Mon Apr 9 16:41:50 2007 From: jay at monkeyfingers.org (Jay donnell) Date: Mon Apr 9 16:44:17 2007 Subject: [Locomotive-users] Anyone using ferret with Locomotive? In-Reply-To: References: <2D46EA86-E9B4-4C4C-A6C8-B48220FADB84@paulwelty.com> Message-ID: adsl:~ jay$ history | grep ferret 161 gem install ferret 163 script/plugin install svn://projects.jkraemer.net/ acts_as_ferret/tags/stable/acts_as_ferret That worked fine for me. I'm on a macbook pro. On Apr 9, 2007, at 9:20 AM, Paul Welty wrote: > I looked at this ferret_ext.bundle file, and it says "bundle > (PowerPC)". So.....now I'm wondering if this is a general OS X > issue. Maybe there is no compatible version for an Intel mac. > > There isn't much on the 'net about this, unfortunately. > > -P > > > > On Apr 9, 2007, at 10:46 AM, Paul Welty wrote: > >> If this helps any, I got the Ferret demo from here >> >> svn://projects.jkraemer.net/acts_as_fe >> rret/trunk/demo >> >> And it fails with exactly the same error when run from Locomotive. >> >> -Paul >> >> On Apr 8, 2007, at 6:35 PM, Paul Welty wrote: >> >>> I tried installing it, but I can't get it to work. I can install >>> ferret (it has to be compiled) and acts_as_ferret. But, following >>> the basic examples, it always hangs up on server start >>> complaining about >>> >>> Failed to load /Applications/Locomotive2/Bundles/ >>> rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/ >>> gems/ferret-0.11.4/lib/ferret_ext.bundle (LoadError) >>> >>> I'm wondering if it's just not compatible? >>> >>> -Paul >>> >>> _______________________________________________ >>> 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/20070409/18fda8f9/attachment.htm From ponch at paulwelty.com Mon Apr 9 17:58:13 2007 From: ponch at paulwelty.com (Paul Welty) Date: Mon Apr 9 17:58:29 2007 Subject: [Locomotive-users] Anyone using ferret with Locomotive? In-Reply-To: References: <2D46EA86-E9B4-4C4C-A6C8-B48220FADB84@paulwelty.com> Message-ID: <13A3A051-7E2B-48D0-887D-388169071355@paulwelty.com> Yes, the installation works fine. No errors, no warnings. It fails when I try to start the server with a test app. On Apr 9, 2007, at 12:41 PM, Jay donnell wrote: > adsl:~ jay$ history | grep ferret > 161 gem install ferret > 163 script/plugin install svn://projects.jkraemer.net/ > acts_as_ferret/tags/stable/acts_as_ferret > > That worked fine for me. I'm on a macbook pro. > > > On Apr 9, 2007, at 9:20 AM, Paul Welty wrote: > >> I looked at this ferret_ext.bundle file, and it says "bundle >> (PowerPC)". So.....now I'm wondering if this is a general OS X >> issue. Maybe there is no compatible version for an Intel mac. >> >> There isn't much on the 'net about this, unfortunately. >> >> -P >> >> >> >> On Apr 9, 2007, at 10:46 AM, Paul Welty wrote: >> >>> If this helps any, I got the Ferret demo from here >>> >>> svn://projects.jkraemer.net/acts_as_fe >>> rret/trunk/demo >>> >>> And it fails with exactly the same error when run from Locomotive. >>> >>> -Paul >>> >>> On Apr 8, 2007, at 6:35 PM, Paul Welty wrote: >>> >>>> I tried installing it, but I can't get it to work. I can install >>>> ferret (it has to be compiled) and acts_as_ferret. But, >>>> following the basic examples, it always hangs up on server start >>>> complaining about >>>> >>>> Failed to load /Applications/Locomotive2/Bundles/ >>>> rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/ >>>> gems/ferret-0.11.4/lib/ferret_ext.bundle (LoadError) >>>> >>>> I'm wondering if it's just not compatible? >>>> >>>> -Paul >>>> >>>> _______________________________________________ >>>> 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/20070409/365e13a7/attachment-0001.htm From ray at warmroom.com Mon Apr 9 20:21:25 2007 From: ray at warmroom.com (Ray Baxter) Date: Mon Apr 9 20:21:36 2007 Subject: [Locomotive-users] Anyone using ferret with Locomotive? In-Reply-To: References: Message-ID: <461AA045.5060602@warmroom.com> Ferret works for me under Locomotive, and has for some time, but I'm not using the rmagick bundle. Ray Paul Welty wrote: > I tried installing it, but I can't get it to work. I can install > ferret (it has to be compiled) and acts_as_ferret. But, following the > basic examples, it always hangs up on server start complaining about > > Failed to load > /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret_ext.bundle > (LoadError) > > I'm wondering if it's just not compatible? > > -Paul > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From ray at warmroom.com Mon Apr 9 23:48:58 2007 From: ray at warmroom.com (Ray Baxter) Date: Mon Apr 9 23:49:11 2007 Subject: [Locomotive-users] Anyone using ferret with Locomotive? In-Reply-To: <461AA045.5060602@warmroom.com> References: <461AA045.5060602@warmroom.com> Message-ID: <461AD0EA.8080406@warmroom.com> Just to follow up. I installed the March2007 rmagick bundle, and ferret works for me still. I would check the permissions on and existence of the file that failed to load. I have a clean install of Locomotive, with both the standard and rmagick bundles from March 2007. On top of both of them (ie two separate installs) I installed ferret and feedtools (which has a dependency on uuidtools) from gems. HTH, Ray Ray Baxter wrote: > Ferret works for me under Locomotive, and has for some time, but I'm > not using the rmagick bundle. > > Ray > > Paul Welty wrote: >> I tried installing it, but I can't get it to work. I can install >> ferret (it has to be compiled) and acts_as_ferret. But, following the >> basic examples, it always hangs up on server start complaining about >> >> Failed to load >> /Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret_ext.bundle >> (LoadError) >> >> I'm wondering if it's just not compatible? >> >> -Paul >> >> _______________________________________________ >> 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 ray at warmroom.com Mon Apr 9 23:51:47 2007 From: ray at warmroom.com (Ray Baxter) Date: Mon Apr 9 23:51:54 2007 Subject: [Locomotive-users] Anyone using ferret with Locomotive? In-Reply-To: References: <2D46EA86-E9B4-4C4C-A6C8-B48220FADB84@paulwelty.com> Message-ID: <461AD193.2000606@warmroom.com> Paul Welty wrote: > I looked at this ferret_ext.bundle file, and it says "bundle > (PowerPC)". So.....now I'm wondering if this is a general OS X issue. > Maybe there is no compatible version for an Intel mac. > Ah, there's your problem. Mine say "bundle (Intel)." Do you have the correct build chain for rmagick? Where'd you get you dev tools? Are you building on a PowerPC machine with the Intel bundle? Ray From ponch at paulwelty.com Tue Apr 10 02:26:56 2007 From: ponch at paulwelty.com (Paul Welty) Date: Tue Apr 10 06:16:25 2007 Subject: [Locomotive-users] Anyone using ferret with Locomotive? In-Reply-To: <461AD193.2000606@warmroom.com> References: <2D46EA86-E9B4-4C4C-A6C8-B48220FADB84@paulwelty.com> <461AD193.2000606@warmroom.com> Message-ID: <5C702450-50E2-49E6-94FD-FB898614E808@paulwelty.com> Ok, I think I fixed it. I will post this to make sure that anyone else who has this problem can find the answer in the archive. Apparently, my version of gcc or whatever compiles the ferret gem was for PowerPC. This made the ferret gem for PowerPC, too (I guess). I downloaded and installed Xcode Tools 2.4.1. This apparently installed the right gcc (or whatever). When I downloaded and compiled the ferret gem again, the .bundle file said 'Intel' this time. Now the app starts up ok. Whew! On Apr 9, 2007, at 7:51 PM, Ray Baxter wrote: > Paul Welty wrote: >> I looked at this ferret_ext.bundle file, and it says "bundle >> (PowerPC)". So.....now I'm wondering if this is a general OS X >> issue. Maybe there is no compatible version for an Intel mac. >> > Ah, there's your problem. Mine say "bundle (Intel)." > > Do you have the correct build chain for rmagick? Where'd you get > you dev tools? Are you building on a PowerPC machine with the Intel > bundle? > > Ray > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From ponch at paulwelty.com Mon Apr 9 22:11:07 2007 From: ponch at paulwelty.com (Paul Welty) Date: Tue Apr 10 06:16:58 2007 Subject: [Locomotive-users] Anyone using ferret with Locomotive? In-Reply-To: <461AA045.5060602@warmroom.com> References: <461AA045.5060602@warmroom.com> Message-ID: Thanks for the reply. I tried the Mar2007 standard bundle, and I have the exact same problem. Maybe it's an Intel thing? Are you using Intel or PPC? -Paul On Apr 9, 2007, at 4:21 PM, Ray Baxter wrote: > Ferret works for me under Locomotive, and has for some time, but > I'm not using the rmagick bundle. > > Ray > > Paul Welty wrote: >> I tried installing it, but I can't get it to work. I can install >> ferret (it has to be compiled) and acts_as_ferret. But, following >> the basic examples, it always hangs up on server start complaining >> about >> >> Failed to load /Applications/Locomotive2/Bundles/ >> rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/ >> gems/ferret-0.11.4/lib/ferret_ext.bundle (LoadError) >> >> I'm wondering if it's just not compatible? >> >> -Paul >> >> _______________________________________________ >> 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 Tue Apr 10 00:44:50 2007 From: ponch at paulwelty.com (Paul Welty) Date: Tue Apr 10 06:18:44 2007 Subject: [Locomotive-users] Anyone using ferret with Locomotive? In-Reply-To: <461AD193.2000606@warmroom.com> References: <2D46EA86-E9B4-4C4C-A6C8-B48220FADB84@paulwelty.com> <461AD193.2000606@warmroom.com> Message-ID: <343594D0-3599-42A3-9842-B3A3F008379B@paulwelty.com> Thanks for the info! Well, I don't know about RMagick. It's just the Locomotive bundle. I installed dev tools from my Tiger Install DVD. Maybe it installed something wrong? I'm on a MacBook Pro during the whole thing. Sounds like maybe I should reinstall the Dev tools and see if that helps any. Or update them? I will try some things. On Apr 9, 2007, at 7:51 PM, Ray Baxter wrote: > Paul Welty wrote: >> I looked at this ferret_ext.bundle file, and it says "bundle >> (PowerPC)". So.....now I'm wondering if this is a general OS X >> issue. Maybe there is no compatible version for an Intel mac. >> > Ah, there's your problem. Mine say "bundle (Intel)." > > Do you have the correct build chain for rmagick? Where'd you get > you dev tools? Are you building on a PowerPC machine with the Intel > bundle? > > Ray > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From lbuhler at gmail.com Thu Apr 12 02:31:33 2007 From: lbuhler at gmail.com (laurent buhler) Date: Thu Apr 12 02:31:43 2007 Subject: [Locomotive-users] Anyone using multiple mongrel In-Reply-To: References: Message-ID: <5AF31A63-CDCE-49DA-8748-C9723D8E9785@gmail.com> Hi, I would like to run to 2 or more instances of mongrel for my app. Is it possible to do that using Locomotive ? 10x From contact at gilgam.com Thu Apr 12 07:37:06 2007 From: contact at gilgam.com (NG) Date: Thu Apr 12 07:37:14 2007 Subject: [Locomotive-users] problem with last bundle References: Message-ID: hi iuse locomotive for a while. But i've downloaded ythe last bundle and drag and drop it in the bundles folder, trashed the last one (januray) then restarted locomotive. But when i launch my app, the webserver doesn't work :-( a new app cretaed works fine, but not the old one. What should i do ? by the way how can i create a restful app in locomotive ? thanks N G From ponch at paulwelty.com Thu Apr 12 18:43:17 2007 From: ponch at paulwelty.com (Paul Welty) Date: Thu Apr 12 18:43:27 2007 Subject: [Locomotive-users] problem with last bundle In-Reply-To: References: Message-ID: <7E231DE8-164B-4736-887D-1109381201D8@paulwelty.com> When changing bundles, lots of things can break in your app. What I do is watch the log/mongrel.log during (attempted) startup. When the server won't start, the reason is almost always in there. -Paul On Apr 12, 2007, at 3:37 AM, NG wrote: > > > hi > > iuse locomotive for a while. > > But i've downloaded ythe last bundle and drag and drop it in the > bundles folder, trashed the last one (januray) then restarted > locomotive. > > But when i launch my app, the webserver doesn't work :-( > > a new app cretaed works fine, but not the old one. > > What should i do ? > > by the way how can i create a restful app in locomotive ? > > thanks > > N G > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From lbuhler at gmail.com Thu Apr 12 18:47:21 2007 From: lbuhler at gmail.com (laurent buhler) Date: Thu Apr 12 18:47:29 2007 Subject: [Locomotive-users] Using more than one mongrel ? Message-ID: Hi, I would like to run to 2 or more instances of mongrel for my app. Is it possible to do that using Locomotive ? 10x laurent From jason.white at email.com Sat Apr 14 03:56:27 2007 From: jason.white at email.com (Jason White) Date: Sat Apr 14 03:57:06 2007 Subject: [Locomotive-users] Using rake with locomotive 2.0.8 Message-ID: <20070414035627.B3FCE1CE6AF@ws1-6.us4.outblaze.com> From inside my project directory 'rake db_schema_dump' results in a rake not found error. I've searched the box and cant find it installed. Do I need to run rake from locomotive or install it separately? Directions would be appreciated. Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070414/5be5b6f8/attachment.htm From masterkain at gmail.com Sat Apr 14 04:27:05 2007 From: masterkain at gmail.com (Claudio Poli) Date: Sat Apr 14 04:27:15 2007 Subject: [Locomotive-users] Using rake with locomotive 2.0.8 In-Reply-To: <20070414035627.B3FCE1CE6AF@ws1-6.us4.outblaze.com> References: <20070414035627.B3FCE1CE6AF@ws1-6.us4.outblaze.com> Message-ID: go into locomotive, right-click the porject, open terminal and try to do rake db:schema:dump (rake db_schema_dump is deprecated) Il giorno 14/apr/07, alle ore 05:56, Jason White ha scritto: > From inside my project directory 'rake db_schema_dump' results in > a rake not found error. I've searched the box and cant find it > installed. Do I need to run rake from locomotive or install it > separately? Directions would be appreciated. > > Thanks, > > -- > > > _______________________________________________ > 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/20070414/0e1042c6/attachment.htm From loriolson at mac.com Sat Apr 14 15:35:20 2007 From: loriolson at mac.com (Lori M Olson) Date: Sat Apr 14 15:35:27 2007 Subject: [Locomotive-users] Using rake with locomotive 2.0.8 In-Reply-To: <20070414035627.B3FCE1CE6AF@ws1-6.us4.outblaze.com> References: <20070414035627.B3FCE1CE6AF@ws1-6.us4.outblaze.com> Message-ID: <5369DBEA-7634-48A4-9A66-9F3444BEAD1B@mac.com> You must start a terminal from Locomotive, so that it is configured properly. Start Locomotive. Make certain that your rails application is selected. Choose Applications | Open Terminal. On 13-Apr-07, at 9:56 PM, Jason White wrote: > From inside my project directory 'rake db_schema_dump' results in > a rake not found error. I've searched the box and cant find it > installed. Do I need to run rake from locomotive or install it > separately? Directions would be appreciated. > > Thanks, > > -- > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From dleber at codeferous.com Sat Apr 14 15:43:14 2007 From: dleber at codeferous.com (David LeBer) Date: Sat Apr 14 15:43:27 2007 Subject: [Locomotive-users] Using rake with locomotive 2.0.8 In-Reply-To: <5369DBEA-7634-48A4-9A66-9F3444BEAD1B@mac.com> References: <20070414035627.B3FCE1CE6AF@ws1-6.us4.outblaze.com> <5369DBEA-7634-48A4-9A66-9F3444BEAD1B@mac.com> Message-ID: <8AA607AC-7680-4F31-A34C-E748D19AF34C@codeferous.com> On 14-Apr-07, at 11:35 AM, Lori M Olson wrote: > You must start a terminal from Locomotive, so that it is configured > properly. > > Start Locomotive. Make certain that your rails application is > selected. Choose Applications | Open Terminal. Alternately you can follow these instructions: This configures Terminal to always use the Locomotive bundle as your default Ruby/Rails (which has the added benefit of working for TextMate as well). -- ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://www.codeferous.com blog: http://david.codeferous.com profile: http://www.linkedin.com/in/davidleber -- Toronto Area Cocoa / WebObjects developers group: http://www.tacow.org From jason.white at email.com Sat Apr 14 18:40:30 2007 From: jason.white at email.com (Jason White) Date: Sat Apr 14 18:40:36 2007 Subject: [Locomotive-users] Using rake with locomotive 2.0.8 Message-ID: <20070414184030.281904798B6@ws1-5.us4.outblaze.com> thanks ----- Original Message ----- From: "David LeBer" To: locomotive-users@lists.raaum.org Subject: Re: [Locomotive-users] Using rake with locomotive 2.0.8 Date: Sat, 14 Apr 2007 11:43:14 -0400 On 14-Apr-07, at 11:35 AM, Lori M Olson wrote: > You must start a terminal from Locomotive, so that it is > configured properly. > > Start Locomotive. Make certain that your rails application is > selected. Choose Applications | Open Terminal. Alternately you can follow these instructions: This configures Terminal to always use the Locomotive bundle as your default Ruby/Rails (which has the added benefit of working for TextMate as well). -- ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://www.codeferous.com blog: http://david.codeferous.com profile: http://www.linkedin.com/in/davidleber -- Toronto Area Cocoa / WebObjects developers group: http://www.tacow.org _______________________________________________ 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/20070414/62ea65ae/attachment.htm From contact at gilgam.com Thu Apr 12 07:09:18 2007 From: contact at gilgam.com (NG) Date: Tue Apr 17 17:05:42 2007 Subject: [Locomotive-users] problem with last bundle Message-ID: hi iuse locomotive for a while. But i've downloaded ythe last bundle and drag and drop it in the bundles folder, trashed the last one (januray) then restarted locomotive. But when i launch my app, the webserver doesn't work :-( a new app cretaed works fine, but not the old one. What should i do ? by the way how can i create a restful app in locomotive ? thanks N G From nmeersschaert at mac.com Wed Apr 18 12:42:00 2007 From: nmeersschaert at mac.com (Niels Meersschaert) Date: Wed Apr 18 12:41:47 2007 Subject: [Locomotive-users] problem with last bundle In-Reply-To: References: Message-ID: <17D41560-198A-4226-9594-06FABB18792D@mac.com> Check the RAILS_GEM_VERSION setting in your environment. It's probably locked to the older version number, which since you're using a new bundle doesn't exist & thus won't start. New apps created will work since they will enter the current rails version in that constant. Update it to the version in your current bundle & all should be fine. Niels On Apr 12, 2007, at 3:09 AM, NG wrote: > hi > > iuse locomotive for a while. > > But i've downloaded ythe last bundle and drag and drop it in the > bundles folder, trashed the last one (januray) then restarted > locomotive. > > But when i launch my app, the webserver doesn't work :-( > > a new app cretaed works fine, but not the old one. > > What should i do ? > > by the way how can i create a restful app in locomotive ? > > thanks > > N G > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From contact at gilgam.com Wed Apr 18 19:34:33 2007 From: contact at gilgam.com (NG) Date: Wed Apr 18 19:34:45 2007 Subject: [Locomotive-users] problem with last bundle In-Reply-To: <17D41560-198A-4226-9594-06FABB18792D@mac.com> References: <17D41560-198A-4226-9594-06FABB18792D@mac.com> Message-ID: <15172DEA-A5BF-4ED9-9783-2000FA17DF3F@gilgam.com> Le 18 avr. 07 ? 14:42, Niels Meersschaert a ?crit : > Check the RAILS_GEM_VERSION setting in your environment. It's > probably locked to the older version number, which since you're > using a new bundle doesn't exist & thus won't start. New apps > created will work since they will enter the current rails version > in that constant. Update it to the version in your current bundle > & all should be fine. > > Niels yes !! i thought the version was 1.2.2 , but it's 1.2.3 thanks it starts now ;-) Gilgam From list at lylo.co.uk Thu Apr 19 14:21:49 2007 From: list at lylo.co.uk (Olly) Date: Thu Apr 19 14:21:58 2007 Subject: [Locomotive-users] Issue with ENV['HOME'] Message-ID: [Locomotive 2.0.8, Rails Bundle 1.2.3] When running my Rails app under Locomotive (development mode), the value of ENV['HOME'] is wrapped in double quotes: "/Users/Olly" When I run the app from the command line (with Mongrel or WeBrick) the value is: /Users/Olly Can anyone explain why, when running under Locomotive, the quotes are added to the HOME environment variable? This is causing a problem with ImageScience (because of ImageScience's dependency on RubyInline) and the only workaround I have found is to add the following to environment.rb: ENV['HOME'] = ENV['HOME'].gsub(/^"/, '').gsub(/"$/, '') Help appreciated! Pls can you cc: all replies to this email address? Many thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070419/9bd38562/attachment.htm From ponch at paulwelty.com Sun Apr 22 16:59:48 2007 From: ponch at paulwelty.com (Paul Welty) Date: Sun Apr 22 16:59:52 2007 Subject: [Locomotive-users] lighttpd won't start Message-ID: I'm trying to switch to lighttpd for development (because mongrel keeps stalling if I don't send it a request every 30 seconds or so). So, I edited locomotive.yml. But, now the app won't work. It seems to 'start' ok. That's the first line of the log. But, when I try an action, I get this error in lighttpd.error.log: 2007-04-22 12:51:23: (log.c.75) server started 2007-04-22 12:51:34: (mod_fastcgi.c.1705) connect failed: Connection refused on unix:/tmp/ruby-fastcgi.aLqRN.socket-1 2007-04-22 12:51:34: (mod_fastcgi.c.2817) backend died, we disable it for a 5 seconds and send the request to another backend instead: reconnects: 0 load: 1 2007-04-22 12:51:37: (mod_fastcgi.c.2396) unexpected end-of-file (perhaps the fastcgi process died): pid: 980 socket: unix:/tmp/ruby- fastcgi.aLqRN.socket-1 2007-04-22 12:51:37: (mod_fastcgi.c.3134) child exited, pid: 980 status: 1 2007-04-22 12:51:37: (mod_fastcgi.c.3181) response not received, request sent: 804 on socket: unix:/tmp/ruby-fastcgi.aLqRN.socket-1 for /dispatch.fcgi , closing connection Any ideas what I should be doing? -Paul From west_mcadams at yahoo.com Sat Apr 28 00:54:22 2007 From: west_mcadams at yahoo.com (West McAdams) Date: Sun Apr 29 15:00:46 2007 Subject: [Locomotive-users] I can't get started Message-ID: <397832.68193.qm@web54305.mail.re2.yahoo.com> I am totally new to Rails and am having difficulty getting started with Locomotive. I downloaded and installed Locomotive my Mac OS 10.3.9. I created an application specifying a path to my Sites folder. I highlighted it in Locomotive and chose to Open Terminal. Nothing happened. I chose Edit in TextMate (which I have) and nothing happened. I tried stopping and starting the application. Still nothing happened when I tried to Open in Terminal again. I must be doing something really dumb. Please help. West __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From duvan at outboxx.net Sun Apr 29 18:37:24 2007 From: duvan at outboxx.net (duvandekoker) Date: Sun Apr 29 18:37:28 2007 Subject: [Locomotive-users] (no subject) Message-ID: <4328.1177871844@outboxx.net> An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070429/e37f43b6/attachment.htm From listcatcher at gmail.com Sun Apr 29 19:09:08 2007 From: listcatcher at gmail.com (List Catcher) Date: Sun Apr 29 19:09:18 2007 Subject: [Locomotive-users] I can't get started In-Reply-To: <397832.68193.qm@web54305.mail.re2.yahoo.com> References: <397832.68193.qm@web54305.mail.re2.yahoo.com> Message-ID: <2C039887-0013-4CED-B939-C9FDF92CA09A@gmail.com> On Apr 27, 2007, at 6:54 PM, West McAdams wrote: > I am totally new to Rails and am having difficulty getting started > with Locomotive. I downloaded and installed Locomotive my Mac OS > 10.3.9. I created an application specifying a path to my Sites > folder. I highlighted it in Locomotive and chose to Open > Terminal. Nothing happened. I chose Edit in TextMate (which I > have) and nothing happened. I tried stopping and starting the > application. Still nothing happened when I tried to Open in > Terminal again. I must be doing something really dumb. It's hard to even guess what could be wrong. Can you start the application? If you right-click on it (or use the application menu) and "Show in finder" is the directory structure there? Does the "get info" look right? -George -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070429/ee787340/attachment.htm From duvan at falloutstudio.co.za Sat Apr 28 18:08:35 2007 From: duvan at falloutstudio.co.za (duvan de koker) Date: Mon Apr 30 11:28:22 2007 Subject: [Locomotive-users] I can't get started Message-ID: <61DD4FD5-B75C-4633-82B9-67F9A2C9D9A0@falloutstudio.co.za> hey there dudey. Before I get started lets clear up some basic issues here. (I'm using OSX 10.4.9 Tiger so it might work differently so be try be patient with my tips) When I installed locomotive it was very simple. Locomotive is a quick installation rather than the more advanced terminal based installation process, which ruby, rails and mysql require. (a slightly more time consuming process) (1) - Download locomotive here. http://locomotive.raaum.org/ *Perhaps your installation went a bit wrong, so follow these steps to double check!! (2) - If you want a more powerful version of ruby: follow Hivelogic's step by step tutorial.... this requires a 15 min installation process,well, only if you have all the install files!! http:// hivelogic.com/narrative/articles/ruby-rails-mongrel-mysql-osx (3) - Another good example or set of resources is Sofamade. http:// sofamade.com/2006/12/26/running-mephisto-on-os-x- here they list additional apps required to run ruby on your machine. (You can ignore the part about Mephisto) Important system checks: have you installed Apache, Subversion or Mysql? Is your root correct? (If you need Apache Google it.) I needed Apache on my system in order for anything to work. So follow those steps and you should be fine. Note: Hivelogics steps are so very easy, and also help set up the full ruby environment, rather than just locomotive without hassle. Good luck -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20070429/c0edcf02/attachment.htm