From kane at inius.com Wed Nov 1 01:38:30 2006 From: kane at inius.com (Kane Dijkman) Date: Wed Nov 1 01:38:39 2006 Subject: [Locomotive-users] rubygems (LoadError) after opening terminal from Locomotive Message-ID: <61F7DE2B-3F81-412D-91CB-6F13F2AE3155@inius.com> Hi Folks, I am new to Ruby, Roby on Rails and Locomotive. I am trying to work through an example and am having what seems to be a common problem. I am getting the following error when trying to run a script from the terminal. [Misato:~] kane% source /private/var/tmp/folders.501/TemporaryItems/ 815B3407-355D-486C- A234-8AAC744C28B9-388-000002CC70DD4497.environment.bash tcsh: export: Command not found. tcsh: export: Command not found. tcsh: export: Command not found. tcsh: export: Command not found. tcsh: export: Command not found. tcsh: export: Command not found. tcsh: export: Command not found. tcsh: export: Command not found. tcsh: export: Command not found. [Misato:~/Rails/ToDo] kane% ruby script/console ./script/../config/boot.rb:18:in `require': No such file to load -- rubygems (LoadError) from ./script/../config/boot.rb:18 from script/console:2:in `require' from script/console:2 [Misato:~/Rails/ToDo] kane% All the feedback I have seen on this says to open the terminal window from inside Locomotive by " Select your application in the Locomotive main window and choose Applications > Open Terminal " I understand this sets the environment variables for ruby to run properly. I have done this, but I am still getting the error. I am running 10.4.8 on a MacBook Pro. Any ideas? Thanks, Kane -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061101/44ebbf94/attachment.htm From jeffmil at us.ibm.com Wed Nov 1 03:02:33 2006 From: jeffmil at us.ibm.com (Jeffrey Miller) Date: Wed Nov 1 03:02:43 2006 Subject: [Locomotive-users] Jeff Miller is out of the office. Message-ID: I will be out of the office starting 10/31/2006 and will not return until 11/14/2006. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061101/4b33e1bc/attachment.htm From ryan.raaum at gmail.com Wed Nov 1 03:42:33 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Nov 1 03:42:47 2006 Subject: [Locomotive-users] rubygems (LoadError) after opening terminal from Locomotive In-Reply-To: <61F7DE2B-3F81-412D-91CB-6F13F2AE3155@inius.com> References: <61F7DE2B-3F81-412D-91CB-6F13F2AE3155@inius.com> Message-ID: On 10/31/06, Kane Dijkman wrote: > > Hi Folks, > > I am new to Ruby, Roby on Rails and Locomotive. I am trying to work > through an example and am having what seems to be a common problem. I am > getting the following error when trying to run a script from the terminal. > > [Misato:~] kane% source > /private/var/tmp/folders.501/TemporaryItems/815B3407- > 355D-486C-A234-8AAC744C28B9-388-000002CC70DD4497.environment.bash > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > [Misato:~/Rails/ToDo] kane% ruby script/console > ./script/../config/boot.rb:18:in `require': No such file to load -- > rubygems (LoadError) > from ./script/../config/boot.rb:18 > from script/console:2:in `require' > from script/console:2 > [Misato:~/Rails/ToDo] kane% > > > All the feedback I have seen on this says to open the terminal window from > inside Locomotive by " > > 1. Select your application in the Locomotive main window and choose > Applications > Open Terminal > > " > I understand this sets the environment variables for ruby to run > properly. I have done this, but I am still getting the error. > > I am running 10.4.8 on a MacBook Pro. > > Any ideas? > Go to Preferences -> Terminal in Locomotive and set it to (t)csh as it appears you are using tcsh rather than bash. Best, -r Thanks, > Kane > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://raaum.org http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061101/decf2fbf/attachment.htm From kane at inius.com Wed Nov 1 06:40:47 2006 From: kane at inius.com (Kane Dijkman) Date: Wed Nov 1 06:41:59 2006 Subject: [Locomotive-users] rubygems (LoadError) after opening terminal from Locomotive In-Reply-To: References: <61F7DE2B-3F81-412D-91CB-6F13F2AE3155@inius.com> Message-ID: <42940BB6-3E28-43A3-BC7B-5D86A753C538@inius.com> Huzzah! that did it. Thanks! On Oct 31, 2006, at 7:42 PM, Ryan Raaum wrote: > > > On 10/31/06, Kane Dijkman wrote: > Hi Folks, > > I am new to Ruby, Roby on Rails and Locomotive. I am trying to work > through an example and am having what seems to be a common problem. > I am getting the following error when trying to run a script from > the terminal. > > [Misato:~] kane% source /private/var/tmp/folders.501/TemporaryItems/ > 815B3407-355D-486C- > A234-8AAC744C28B9-388-000002CC70DD4497.environment.bash > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > tcsh: export: Command not found. > [Misato:~/Rails/ToDo] kane% ruby script/console > ./script/../config/boot.rb:18:in `require': No such file to load -- > rubygems (LoadError) > from ./script/../config/boot.rb:18 > from script/console:2:in `require' > from script/console:2 > [Misato:~/Rails/ToDo] kane% > > > All the feedback I have seen on this says to open the terminal > window from inside Locomotive by " > Select your application in the Locomotive main window and choose > Applications > Open Terminal > " > I understand this sets the environment variables for ruby to run > properly. I have done this, but I am still getting the error. > > I am running 10.4.8 on a MacBook Pro. > > Any ideas? > > Go to Preferences -> Terminal in Locomotive and set it to (t)csh as > it appears you are using tcsh rather than bash. > > Best, > > -r > > Thanks, > Kane > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > -- > Ryan Raaum > http://raaum.org > http://locomotive.raaum.org -- Self contained one-click Rails for > Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users ------------------------------------------------------------------------ ------------- In Minnesota it is illegal to cross state lines with a duck on your head. http://www.geocities.com/Athens/Forum/4255/youknow.html -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061101/63665afd/attachment.htm From ben2004uk at googlemail.com Sat Nov 4 14:04:05 2006 From: ben2004uk at googlemail.com (Ben Hall) Date: Sat Nov 4 14:57:26 2006 Subject: [Locomotive-users] Error - Running but not opened port Message-ID: Hello, I just tried to create a new application/rails site via the locomotive UI and tried to run the applicaiton to get the nice welcome screen. The application started OK, but when I tried to view it in my browser it wouldn't open connect to the port. I tried an existing HelloWorld application and that didn't work either. I don't think I have changed anything. Using OSX 10.4.8 & Locomotive 2.0.8. Really need this working as I to complete some Uni work using it :( Thanks for your time. Ben From ryan.raaum at gmail.com Sat Nov 4 15:01:44 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sat Nov 4 15:01:52 2006 Subject: [Locomotive-users] Error - Running but not opened port In-Reply-To: References: Message-ID: On 11/4/06, Ben Hall wrote: > > Hello, > > I just tried to create a new application/rails site via the locomotive > UI and tried to run the applicaiton to get the nice welcome screen. > The application started OK, but when I tried to view it in my browser > it wouldn't open connect to the port. I tried an existing HelloWorld > application and that didn't work either. > > I don't think I have changed anything. Using OSX 10.4.8 & Locomotive > 2.0.8. > > Really need this working as I to complete some Uni work using it :( Hi Ben, Unfortunately you're not providing much information here. Is there anything relevant showing up on the system stderr (view using /Applications/Utilities/Console.app). If you try to start the rails console ("ruby script/console" from a Locomotive-opened Terminal), do any relevant errors show up? Best, -r Thanks for your time. > > Ben > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061104/d4d7cceb/attachment.htm From ben2004uk at googlemail.com Sat Nov 4 20:33:25 2006 From: ben2004uk at googlemail.com (Ben Hall) Date: Sat Nov 4 20:38:33 2006 Subject: [Locomotive-users] Error - Running but not opened port In-Reply-To: References: Message-ID: Thanks for your reply, I tried to run rake and it came up saying my rails version was wrong (required 1.1.2). All working again now. Thanks Ben On 04/11/06, Ryan Raaum wrote: > > > > On 11/4/06, Ben Hall wrote: > > Hello, > > > > I just tried to create a new application/rails site via the locomotive > > UI and tried to run the applicaiton to get the nice welcome screen. > > The application started OK, but when I tried to view it in my browser > > it wouldn't open connect to the port. I tried an existing HelloWorld > > application and that didn't work either. > > > > I don't think I have changed anything. Using OSX 10.4.8 & Locomotive > 2.0.8. > > > > Really need this working as I to complete some Uni work using it :( > > > Hi Ben, > > Unfortunately you're not providing much information here. Is there anything > relevant showing up on the system stderr (view using > /Applications/Utilities/Console.app). If you try to start > the rails console ("ruby script/console" from a Locomotive-opened Terminal), > do any relevant errors show up? > > Best, > > -r > > > Thanks for your time. > > > > Ben > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > -- > Ryan Raaum > http://raaum.org > http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > From malavoi at gmail.com Wed Nov 8 21:24:06 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Wed Nov 8 21:24:23 2006 Subject: [Locomotive-users] Capistrano Message-ID: <78155DA1-7BBF-4B0F-948A-A1506220D7E2@gmail.com> Hello, i try to use capistrano with loco , l launch a terminal from Locomo pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ cap -A I have this message /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ i386/lib/ruby/1.8/optparse.rb:446:in `parse': missing argument: -A (OptionParser::MissingArgument) from /Applications/Locomotive2/Bundles/ standardRailsSept2006.locobundle/i386/lib/ruby/1.8/optparse.rb: 1310:in `order!' from /Applications/Locomotive2/Bundles/ standardRailsSept2006.locobundle/i386/lib/ruby/1.8/optparse.rb: 1271:in `order!' from /Applications/Locomotive2/Bundles/ standardRailsSept2006.locobundle/i386/lib/ruby/1.8/optparse.rb: 1351:in `permute!' from /Applications/Locomotive2/Bundles/ standardRailsSept2006.locobundle/i386/lib/ruby/1.8/optparse.rb: 1378:in `parse!' from /Applications/Locomotive2/Bundles/ standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/ capistrano-1.2.0/lib/capistrano/cli.rb:213:in `initialize' from /Applications/Locomotive2/Bundles/ standardRailsSept2006.locobundle/i386/lib/ruby/1.8/optparse.rb:815:in `initialize' from /Applications/Locomotive2/Bundles/ standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/ capistrano-1.2.0/lib/capistrano/cli.rb:101:in `initialize' from /Applications/Locomotive2/Bundles/ standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/ capistrano-1.2.0/lib/capistrano/cli.rb:12:in `execute!' from /Applications/Locomotive2/Bundles/ standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/ capistrano-1.2.0/bin/cap:11 from /Applications/Locomotive2/Bundles/ standardRailsSept2006.locobundle/i386/bin/cap:18 Can u help me Thanks Bolo Michelin malavoi@gmail.com http://blog.developpez.com/index.php?blog=30 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061108/3c09a7c7/attachment.htm From loriolson at mac.com Wed Nov 8 21:39:16 2006 From: loriolson at mac.com (Lori M Olson) Date: Wed Nov 8 21:40:34 2006 Subject: [Locomotive-users] Capistrano In-Reply-To: <78155DA1-7BBF-4B0F-948A-A1506220D7E2@gmail.com> References: <78155DA1-7BBF-4B0F-948A-A1506220D7E2@gmail.com> Message-ID: On 8-Nov-06, at 2:24 PM, Bolo Michelin wrote: > Hello, > > i try to use capistrano with loco , l launch a terminal from Locomo > > pc-mq-dsi3:~/Documents/Coding-Dev/demo bmichelin$ cap -A > > I have this message > > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > i386/lib/ruby/1.8/optparse.rb:446:in `parse': missing argument: -A > (OptionParser::MissingArgument) > from /Applications/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/i386/lib/ruby/1.8/optparse.rb: > 1310:in `order!' > from /Applications/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/i386/lib/ruby/1.8/optparse.rb: > 1271:in `order!' > from /Applications/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/i386/lib/ruby/1.8/optparse.rb: > 1351:in `permute!' > from /Applications/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/i386/lib/ruby/1.8/optparse.rb: > 1378:in `parse!' > from /Applications/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/ > capistrano-1.2.0/lib/capistrano/cli.rb:213:in `initialize' > from /Applications/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/i386/lib/ruby/1.8/optparse.rb: > 815:in `initialize' > from /Applications/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/ > capistrano-1.2.0/lib/capistrano/cli.rb:101:in `initialize' > from /Applications/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/ > capistrano-1.2.0/lib/capistrano/cli.rb:12:in `execute!' > from /Applications/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/ > capistrano-1.2.0/bin/cap:11 > from /Applications/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/i386/bin/cap:18 > > Can u help me > > Thanks > > Bolo Michelin > malavoi@gmail.com > http://blog.developpez.com/index.php?blog=30 > > > If you just type "cap", you will see that "cap -A" requires an additional parameter - a directory name for the directory that contains your Rails app. Capistrano doesn't have very robust parameter-error-message facilities, I'm afraid. Regards, Lori From malavoi at gmail.com Fri Nov 10 18:04:02 2006 From: malavoi at gmail.com (Bolo Michelin) Date: Fri Nov 10 18:04:13 2006 Subject: [Locomotive-users] 505 errors Message-ID: Hello, Since i deployed my application with capistrano i can see now this error when i launch it with loco Status: 500 Internal Server Error Content-Type: text/html Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html Thanks Bolo Michelin malavoi@gmail.com http://blog.developpez.com/index.php?blog=30 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061110/24e134f8/attachment.htm From proposta at nwlink.com Sat Nov 11 08:57:44 2006 From: proposta at nwlink.com (Ken Woodruff) Date: Sat Nov 11 08:58:20 2006 Subject: [Locomotive-users] improved support for xterm+(t)csh? References: <485715D2-9140-496A-8D55-91F717913EFA@nwlink.com> Message-ID: <76926773-DCF8-4BF9-A888-68A5B8257FDE@nwlink.com> [this bounced the first time I sent it, forgive me if it's a dupe --Ken] I use xterm rather than Terminal as my primary terminal, along with tcsh as my shell. For now I'm using Locomotive to start a Terminal window and then manually running an xterm as a child, but since this is a bit clunky the following questions come to mind: 1) how hard would it be to add support for launching xterm (or other terminal programs) directly to Locomotive? 2) would it be possible for Locomotive to generate a non-temp version of the environment file it tells the shell to run (e.g. /private/var/ tmp/folders.501/TemporaryItems/AF9DEB33-A7FC-4C07- ABEF-389572F1F2CD-1486-000045277FB4AAFC.environment.csh)? For example an "Export environment script" command that lets you specify the type of shell and where to save the file. This could then be sourced manually in whatever terminal someone desires to use. --Ken proposta@nwlink.com From ni-di at web.de Sat Nov 11 13:39:18 2006 From: ni-di at web.de (Niko Dittmann) Date: Sat Nov 11 13:39:25 2006 Subject: [Locomotive-users] improved support for xterm+(t)csh? In-Reply-To: <76926773-DCF8-4BF9-A888-68A5B8257FDE@nwlink.com> References: <485715D2-9140-496A-8D55-91F717913EFA@nwlink.com> <76926773-DCF8-4BF9-A888-68A5B8257FDE@nwlink.com> Message-ID: With the possibility to save commands in locomotive which than get called with the path of the env-file (or a selection of env-file, port, etc.) as argument you could do this. Also it would be possible to start Terminal.app and start a tail -f command (which is on the top of my whish-list for locomotive). This would be a highly flexible method to do any kind of things right from locomotive: * start alternative terminal/shell * tail * autotest * deployment with capistrano * open in alternative editor * open in alternative browser * ? Niko. Am 11.11.2006 um 09:57 schrieb Ken Woodruff: > [this bounced the first time I sent it, forgive me if it's a dupe -- > Ken] > > I use xterm rather than Terminal as my primary terminal, along with > tcsh as my shell. For now I'm using Locomotive to start a Terminal > window and then manually running an xterm as a child, but since > this is a bit clunky the following questions come to mind: > > 1) how hard would it be to add support for launching xterm (or > other terminal programs) directly to Locomotive? > 2) would it be possible for Locomotive to generate a non-temp > version of the environment file it tells the shell to run (e.g. / > private/var/tmp/folders.501/TemporaryItems/AF9DEB33-A7FC-4C07- > ABEF-389572F1F2CD-1486-000045277FB4AAFC.environment.csh)? For > example an "Export environment script" command that lets you > specify the type of shell and where to save the file. This could > then be sourced manually in whatever terminal someone desires to use. > > --Ken > proposta@nwlink.com > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users -- ____________________________ niko dittmann ____________________________ From ray at warmroom.com Sat Nov 11 17:17:55 2006 From: ray at warmroom.com (Ray Baxter) Date: Sat Nov 11 17:18:01 2006 Subject: [Locomotive-users] improved support for xterm+(t)csh? In-Reply-To: <76926773-DCF8-4BF9-A888-68A5B8257FDE@nwlink.com> References: <485715D2-9140-496A-8D55-91F717913EFA@nwlink.com> <76926773-DCF8-4BF9-A888-68A5B8257FDE@nwlink.com> Message-ID: <455605C3.9030205@warmroom.com> Ken Woodruff wrote: > 2) would it be possible for Locomotive to generate a non-temp version > of the environment file it tells the shell to run (e.g. > /private/var/tmp/folders.501/TemporaryItems/AF9DEB33-A7FC-4C07-ABEF-389572F1F2CD-1486-000045277FB4AAFC.environment.csh)? > For example an "Export environment script" command that lets you > specify the type of shell and where to save the file. This could then > be sourced manually in whatever terminal someone desires to use. The is nothing in the environment.csh file that is special. There are 9 setenv's and one cd. You can just place the setenv's in your .cshrc file and cd to your applications $RAILS_ROOT. Or, if you are committed to the sourcing option, you could copy the environment.csh file to some static file and just source it. -- Ray From ryan.raaum at gmail.com Sat Nov 11 22:13:07 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sat Nov 11 22:13:12 2006 Subject: [Locomotive-users] improved support for xterm+(t)csh? In-Reply-To: <76926773-DCF8-4BF9-A888-68A5B8257FDE@nwlink.com> References: <485715D2-9140-496A-8D55-91F717913EFA@nwlink.com> <76926773-DCF8-4BF9-A888-68A5B8257FDE@nwlink.com> Message-ID: On 11/11/06, Ken Woodruff wrote: > > [this bounced the first time I sent it, forgive me if it's a dupe --Ken] > > I use xterm rather than Terminal as my primary terminal, along with > tcsh as my shell. For now I'm using Locomotive to start a Terminal > window and then manually running an xterm as a child, but since this > is a bit clunky the following questions come to mind: > > 1) how hard would it be to add support for launching xterm (or other > terminal programs) directly to Locomotive? It has to be applescriptable. I haven't checked, but I suspect xterm is not. 2) would it be possible for Locomotive to generate a non-temp version > of the environment file it tells the shell to run (e.g. /private/var/ > tmp/folders.501/TemporaryItems/AF9DEB33-A7FC-4C07- > ABEF-389572F1F2CD-1486-000045277FB4AAFC.environment.csh)? For > example an "Export environment script" command that lets you specify > the type of shell and where to save the file. This could then be > sourced manually in whatever terminal someone desires to use. If you enable the locomotive command line tool (in the Locomotive Help menu) you can setup the locomotive environment from any shell by cd'ing to your rails app's root and running `locomotive bash-environment` (The backticks are significant here.) Best, r --Ken > proposta@nwlink.com > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061111/85d2878d/attachment.htm From proposta at nwlink.com Sun Nov 12 18:33:53 2006 From: proposta at nwlink.com (Ken Woodruff) Date: Sun Nov 12 18:34:33 2006 Subject: [Locomotive-users] improved support for xterm+(t)csh? In-Reply-To: References: <485715D2-9140-496A-8D55-91F717913EFA@nwlink.com> <76926773-DCF8-4BF9-A888-68A5B8257FDE@nwlink.com> Message-ID: <2BEF4ACB-E18E-43CD-8D02-242C14D14C04@nwlink.com> On Nov 11, 2006, at 2:13 PM, Ryan Raaum wrote: > > 1) how hard would it be to add support for launching xterm (or other > terminal programs) directly to Locomotive? > > It has to be applescriptable. I haven't checked, but I suspect > xterm is not. xterm isn't directly, but the X11 applications is scriptable, e.g. this applescript should start an xterm: tell application "X11" to activate do shell script "export DISPLAY=:0 && /usr/X11R6/bin/xterm" >> 2) would it be possible for Locomotive to generate a non-temp >> version >> of the environment file it tells the shell to run > If you enable the locomotive command line tool (in the Locomotive > Help menu) you can setup the locomotive environment from any shell > by cd'ing to your rails app's root and running > > `locomotive bash-environment` Any reason that won't work in tcsh? If not seems like it should be renamed just "environment". --Ken From ponch at paulwelty.com Thu Nov 16 15:09:51 2006 From: ponch at paulwelty.com (Paul Welty) Date: Thu Nov 16 15:09:54 2006 Subject: [Locomotive-users] Odd deployment issue from Loco -> DreamHost Message-ID: I have a field that's serialized in my model with "serialize :field". This works fine going back and forth to a hash in Locomotive in development. 'field' always comes out as a hash. So, in development, I get a YAML::dump like this: !map:HashWithIndifferentAccess key1: "value1" key2: "value2" But, in production on DreamHost, the deseralization ends up like this: !ruby/object:YAML::Syck::DomainType domain: yaml.org,2002 type_id: map:HashWithIndifferentAccess value: key1: "value1" key2: "value2" Thus, of course, I can't use the hash methods. And Rails then generates errors like "undefined method `include?' for #". And this, of course, breaks the whole app. I'm using Rails 1.1.6, and so is DreamHost. I tried: installing Ruby 1.8.5 on DreamHost installing a custom rails package there freezing gems (including rails) into my app None of these make the slightest difference. I?m guess this might be a DreamHost problem not a Locomotive problem, but who knows. Does anyone have any ideas what might be going on? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061116/1c582084/attachment.htm From loriolson at mac.com Thu Nov 16 16:40:28 2006 From: loriolson at mac.com (Lori M Olson) Date: Thu Nov 16 16:42:00 2006 Subject: [Locomotive-users] Odd deployment issue from Loco -> DreamHost In-Reply-To: References: Message-ID: <73360A4E-F2B9-4696-96E6-FB83E67FCD65@mac.com> On 16-Nov-06, at 8:09 AM, Paul Welty wrote: > I have a field that's serialized in my model with > "serialize :field". This > works fine going back and forth to a hash in Locomotive in > development. > 'field' always comes out as a hash. So, in development, I get a > YAML::dump > like this: !map:HashWithIndifferentAccess key1: "value1" key2: > "value2" > > But, in production on DreamHost, the deseralization ends up like this: > > !ruby/object:YAML::Syck::DomainType domain: yaml.org,2002 type_id: > map:HashWithIndifferentAccess value: key1: "value1" key2: "value2" > > Thus, of course, I can't use the hash methods. And Rails then > generates > errors like "undefined method `include?' for > #". And this, of course, breaks > the whole > app. > > I'm using Rails 1.1.6, and so is DreamHost. > > I tried: > installing Ruby 1.8.5 on DreamHost > installing a custom rails package there > freezing gems (including rails) into my app > > None of these make the slightest difference. > > I?m guess this might be a DreamHost problem not a Locomotive > problem, but who knows. > > Does anyone have any ideas what might be going on? I'm not a Dreamhost user, but those errors look suspiciously familiar to a problem I had to solve on our production server a few weeks ago. It really looks like you have a Ruby version problem. I would try installing and using Ruby 1.8.4. Regards, Lori From ponch at paulwelty.com Thu Nov 16 20:01:16 2006 From: ponch at paulwelty.com (Paul Welty) Date: Thu Nov 16 20:01:16 2006 Subject: [Locomotive-users] Odd deployment issue from Loco -> DreamHost In-Reply-To: <73360A4E-F2B9-4696-96E6-FB83E67FCD65@mac.com> Message-ID: Thanks very much for the advice. I tried that. I got 'which ruby' and 'ruby -v' to return the right things on DreamHost. But, still no difference in behavior. So, now I'm wondering if somehow rails isn't using the new ruby. Is there a Rails status screen or something that would tell me which ruby it's using so I could compare that to Locomotive? (I tried the /rails/info/ but it doesn't seem to work at all anymore.) On 11/16/06 11:40 AM, "Lori M Olson" wrote: > On 16-Nov-06, at 8:09 AM, Paul Welty wrote: > >> I have a field that's serialized in my model with >> "serialize :field". This >> works fine going back and forth to a hash in Locomotive in >> development. >> 'field' always comes out as a hash. So, in development, I get a >> YAML::dump >> like this: !map:HashWithIndifferentAccess key1: "value1" key2: >> "value2" >> >> But, in production on DreamHost, the deseralization ends up like this: >> >> !ruby/object:YAML::Syck::DomainType domain: yaml.org,2002 type_id: >> map:HashWithIndifferentAccess value: key1: "value1" key2: "value2" >> >> Thus, of course, I can't use the hash methods. And Rails then >> generates >> errors like "undefined method `include?' for >> #". And this, of course, breaks >> the whole >> app. >> >> I'm using Rails 1.1.6, and so is DreamHost. >> >> I tried: >> installing Ruby 1.8.5 on DreamHost >> installing a custom rails package there >> freezing gems (including rails) into my app >> >> None of these make the slightest difference. >> >> I?m guess this might be a DreamHost problem not a Locomotive >> problem, but who knows. >> >> Does anyone have any ideas what might be going on? > > I'm not a Dreamhost user, but those errors look suspiciously familiar > to a problem I had to solve on our production server a few weeks > ago. It really looks like you have a Ruby version problem. I would > try installing and using Ruby 1.8.4. > > Regards, Lori > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users From ryan.raaum at gmail.com Thu Nov 16 20:31:23 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Nov 16 20:31:28 2006 Subject: [Locomotive-users] Odd deployment issue from Loco -> DreamHost In-Reply-To: References: <73360A4E-F2B9-4696-96E6-FB83E67FCD65@mac.com> Message-ID: On 11/16/06, Paul Welty wrote: > > Thanks very much for the advice. I tried that. I got 'which ruby' and > 'ruby > -v' to return the right things on DreamHost. But, still no difference in > behavior. > > So, now I'm wondering if somehow rails isn't using the new ruby. Is there > a > Rails status screen or something that would tell me which ruby it's using > so > I could compare that to Locomotive? (I tried the /rails/info/ but it > doesn't > seem to work at all anymore.) >From the command line you should be able to do "ruby script/about" to see (I think) the same information that is in the info properties page. -r On 11/16/06 11:40 AM, "Lori M Olson" wrote: > > > On 16-Nov-06, at 8:09 AM, Paul Welty wrote: > > > >> I have a field that's serialized in my model with > >> "serialize :field". This > >> works fine going back and forth to a hash in Locomotive in > >> development. > >> 'field' always comes out as a hash. So, in development, I get a > >> YAML::dump > >> like this: !map:HashWithIndifferentAccess key1: "value1" key2: > >> "value2" > >> > >> But, in production on DreamHost, the deseralization ends up like this: > >> > >> !ruby/object:YAML::Syck::DomainType domain: yaml.org,2002 type_id: > >> map:HashWithIndifferentAccess value: key1: "value1" key2: "value2" > >> > >> Thus, of course, I can't use the hash methods. And Rails then > >> generates > >> errors like "undefined method `include?' for > >> #". And this, of course, breaks > >> the whole > >> app. > >> > >> I'm using Rails 1.1.6, and so is DreamHost. > >> > >> I tried: > >> installing Ruby 1.8.5 on DreamHost > >> installing a custom rails package there > >> freezing gems (including rails) into my app > >> > >> None of these make the slightest difference. > >> > >> I?m guess this might be a DreamHost problem not a Locomotive > >> problem, but who knows. > >> > >> Does anyone have any ideas what might be going on? > > > > I'm not a Dreamhost user, but those errors look suspiciously familiar > > to a problem I had to solve on our production server a few weeks > > ago. It really looks like you have a Ruby version problem. I would > > try installing and using Ruby 1.8.4. > > > > Regards, Lori > > _______________________________________________ > > Locomotive-users mailing list > > Locomotive-users@lists.raaum.org > > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061116/86c616e6/attachment.htm From jerrod at indierockmedia.com Thu Nov 16 22:02:33 2006 From: jerrod at indierockmedia.com (Jerrod Blavos) Date: Thu Nov 16 22:02:43 2006 Subject: [Locomotive-users] Setting environment in locomotive Message-ID: <1CEF0875-899E-4D86-B918-0BC359F1C2E9@indierockmedia.com> so, for development on my local machine i use a different environment (localdev) than i do on my BETA box (development) which is on a real server. as far as i can tell, even though i changed the environment in the Locomotive.yml file to the proper one, it still starts up in development. also, on my other box i had installed a command line version of locomotive which made it such that i could do bash$ locomotive start localdev and it would use the localdev environment. so, two questions: 1. can i force the GUI version of locomotive to use a different environement besides "development" or "production" 2. where do i get the command line version of locomotive. i have no idea where i came across it before. thanks! Jerrod From ryan.raaum at gmail.com Thu Nov 16 22:15:28 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Thu Nov 16 22:15:39 2006 Subject: [Locomotive-users] Setting environment in locomotive In-Reply-To: <1CEF0875-899E-4D86-B918-0BC359F1C2E9@indierockmedia.com> References: <1CEF0875-899E-4D86-B918-0BC359F1C2E9@indierockmedia.com> Message-ID: Hi, On 11/16/06, Jerrod Blavos wrote: > > so, for development on my local machine i use a different environment > (localdev) than i do on my BETA box (development) which is on a real > server. > > as far as i can tell, even though i changed the environment in the > Locomotive.yml file to the proper one, it still starts up in > development. > > also, on my other box i had installed a command line version of > locomotive which made it such that i could do > > bash$ locomotive start localdev > > and it would use the localdev environment. so, two questions: > > 1. can i force the GUI version of locomotive to use a different > environement besides "development" or "production" Hm. Might not be possible. 2. where do i get the command line version of locomotive. i have no > idea where i came across it before. It can be installed from the Help menu of Locomotive. Best, -r thanks! > > Jerrod > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061116/f758de4f/attachment-0001.htm From ponch at paulwelty.com Fri Nov 17 13:22:07 2006 From: ponch at paulwelty.com (Paul Welty) Date: Fri Nov 17 13:22:10 2006 Subject: [Locomotive-users] Odd deployment issue from Loco -> DreamHost In-Reply-To: Message-ID: Thanks. That worked, and everything checks out the same now in Locomotive and DreamHost. So, I guess it?s not a Locomotive problem, though I have no idea what do at this point. But, thanks for your help! On 11/16/06 3:31 PM, "Ryan Raaum" wrote: > > > On 11/16/06, Paul Welty wrote: >> Thanks very much for the advice. I tried that. I got 'which ruby' and 'ruby >> -v' to return the right things on DreamHost. But, still no difference in >> behavior. >> >> So, now I'm wondering if somehow rails isn't using the new ruby. Is there a >> Rails status screen or something that would tell me which ruby it's using so >> I could compare that to Locomotive? (I tried the /rails/info/ but it doesn't >> seem to work at all anymore.) > > From the command line you should be able to do "ruby script/about" to see (I > think) the same information that is in the info properties page. > > -r > >> On 11/16/06 11:40 AM, "Lori M Olson" < loriolson@mac.com >> > wrote: >> >>> > On 16-Nov-06, at 8:09 AM, Paul Welty wrote: >>> > >>>> >> I have a field that's serialized in my model with >>>> >> "serialize :field". This >>>> >> works fine going back and forth to a hash in Locomotive in >>>> >> development. >>>> >> 'field' always comes out as a hash. So, in development, I get a >>>> >> YAML::dump >>>> >> like this: !map:HashWithIndifferentAccess key1: "value1" key2: >>>> >> "value2" >>>> >> >>>> >> But, in production on DreamHost, the deseralization ends up like this: >>>> >> >>>> >> !ruby/object:YAML::Syck::DomainType domain: yaml.org >>>> ,2002 type_id: >>>> >> map:HashWithIndifferentAccess value: key1: "value1" key2: "value2" >>>> >> >>>> >> Thus, of course, I can't use the hash methods. And Rails then >>>> >> generates >>>> >> errors like "undefined method `include?' for >>>> >> #". And this, of course, breaks >>>> >> the whole >>>> >> app. >>>> >> >>>> >> I'm using Rails 1.1.6, and so is DreamHost. >>>> >> >>>> >> I tried: >>>> >> installing Ruby 1.8.5 on DreamHost >>>> >> installing a custom rails package there >>>> >> freezing gems (including rails) into my app >>>> >> >>>> >> None of these make the slightest difference. >>>> >> >>>> >> I?m guess this might be a DreamHost problem not a Locomotive >>>> >> problem, but who knows. >>>> >> >>>> >> Does anyone have any ideas what might be going on? >>> > >>> > I'm not a Dreamhost user, but those errors look suspiciously familiar >>> > to a problem I had to solve on our production server a few weeks >>> > ago. It really looks like you have a Ruby version problem. I would >>> > try installing and using Ruby 1.8.4. >>> > >>> > Regards, Lori >>> > _______________________________________________ >>> > 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/20061117/002b093b/attachment.htm From ryan.raaum at gmail.com Fri Nov 17 13:36:49 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Fri Nov 17 13:36:54 2006 Subject: [Locomotive-users] Odd deployment issue from Loco -> DreamHost In-Reply-To: References: Message-ID: On 11/17/06, Paul Welty wrote: > > Thanks. That worked, and everything checks out the same now in Locomotive > and DreamHost. So, I guess it's not a Locomotive problem, though I have no > idea what do at this point. But, thanks for your help! > It looks to me like either there is a newer/different yaml implementation on Dreamhost, or that the yaml implementation differs by architecture - neither of which seems good. I would suggest asking _why as he wrote the syck yaml implementation in the first place. Best, -r On 11/16/06 3:31 PM, "Ryan Raaum" wrote: > > > > On 11/16/06, *Paul Welty* wrote: > > Thanks very much for the advice. I tried that. I got 'which ruby' and > 'ruby > -v' to return the right things on DreamHost. But, still no difference in > behavior. > > So, now I'm wondering if somehow rails isn't using the new ruby. Is there > a > Rails status screen or something that would tell me which ruby it's using > so > I could compare that to Locomotive? (I tried the /rails/info/ but it > doesn't > seem to work at all anymore.) > > > >From the command line you should be able to do "ruby script/about" to see > (I think) the same information that is in the info properties page. > > -r > > On 11/16/06 11:40 AM, "Lori M Olson" < loriolson@mac.com > > wrote: > > > On 16-Nov-06, at 8:09 AM, Paul Welty wrote: > > > >> I have a field that's serialized in my model with > >> "serialize :field". This > >> works fine going back and forth to a hash in Locomotive in > >> development. > >> 'field' always comes out as a hash. So, in development, I get a > >> YAML::dump > >> like this: !map:HashWithIndifferentAccess key1: "value1" key2: > >> "value2" > >> > >> But, in production on DreamHost, the deseralization ends up like this: > >> > >> !ruby/object:YAML::Syck::DomainType domain: yaml.org ,2002 type_id: > >> map:HashWithIndifferentAccess value: key1: "value1" key2: "value2" > >> > >> Thus, of course, I can't use the hash methods. And Rails then > >> generates > >> errors like "undefined method `include?' for > >> #". And this, of course, breaks > >> the whole > >> app. > >> > >> I'm using Rails 1.1.6, and so is DreamHost. > >> > >> I tried: > >> installing Ruby 1.8.5 on DreamHost > >> installing a custom rails package there > >> freezing gems (including rails) into my app > >> > >> None of these make the slightest difference. > >> > >> I'm guess this might be a DreamHost problem not a Locomotive > >> problem, but who knows. > >> > >> Does anyone have any ideas what might be going on? > > > > I'm not a Dreamhost user, but those errors look suspiciously familiar > > to a problem I had to solve on our production server a few weeks > > ago. It really looks like you have a Ruby version problem. I would > > try installing and using Ruby 1.8.4. > > > > Regards, Lori > > _______________________________________________ > > 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 > > > -- Ryan Raaum http://raaum.org http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061117/9d23c5c4/attachment.htm From ponch at paulwelty.com Fri Nov 17 15:09:46 2006 From: ponch at paulwelty.com (Paul Welty) Date: Fri Nov 17 15:09:49 2006 Subject: [Locomotive-users] Odd deployment issue from Loco -> DreamHost In-Reply-To: Message-ID: Just to close this thread on a positive note.... I finally (after weeks) got a reply on the main Rails list. Jeremy Kemper said: Try serializing a Hash instead of a HashWithIndifferentAccess. Then you'll get compatible YAML across Syck versions. This solves the problem. Who knew? Anyway, I wanted to post it here in case it helps someone else. -P On 11/17/06 8:36 AM, "Ryan Raaum" wrote: > > > On 11/17/06, Paul Welty wrote: >> Thanks. That worked, and everything checks out the same now in Locomotive and >> DreamHost. So, I guess it's not a Locomotive problem, though I have no idea >> what do at this point. But, thanks for your help! > > It looks to me like either there is a newer/different yaml implementation on > Dreamhost, or that the yaml implementation differs by architecture - neither > of which seems good. I would suggest asking _why as he wrote the syck yaml > implementation in the first place. > > Best, > > -r > >> On 11/16/06 3:31 PM, "Ryan Raaum" wrote: >> >>> >>> >>> On 11/16/06, Paul Welty wrote: >>>> Thanks very much for the advice. I tried that. I got 'which ruby' and 'ruby >>>> -v' to return the right things on DreamHost. But, still no difference in >>>> behavior. >>>> >>>> So, now I'm wondering if somehow rails isn't using the new ruby. Is there a >>>> Rails status screen or something that would tell me which ruby it's using >>>> so >>>> I could compare that to Locomotive? (I tried the /rails/info/ but it >>>> doesn't >>>> seem to work at all anymore.) >>> >>>> >From the command line you should be able to do "ruby script/about" to see >>>> (I think) the same information that is in the info properties page. >>> >>> -r >>> >>>> On 11/16/06 11:40 AM, "Lori M Olson" < loriolson@mac.com >>>> > wrote: >>>> >>>>> > On 16-Nov-06, at 8:09 AM, Paul Welty wrote: >>>>> > >>>>>> >> I have a field that's serialized in my model with >>>>>> >> "serialize :field". This >>>>>> >> works fine going back and forth to a hash in Locomotive in >>>>>> >> development. >>>>>> >> 'field' always comes out as a hash. So, in development, I get a >>>>>> >> YAML::dump >>>>>> >> like this: !map:HashWithIndifferentAccess key1: "value1" key2: >>>>>> >> "value2" >>>>>> >> >>>>>> >> But, in production on DreamHost, the deseralization ends up like this: >>>>>> >> >>>>>> >> !ruby/object:YAML::Syck::DomainType domain: yaml.org >>>>>> ,2002 type_id: >>>>>> >> map:HashWithIndifferentAccess value: key1: "value1" key2: "value2" >>>>>> >> >>>>>> >> Thus, of course, I can't use the hash methods. And Rails then >>>>>> >> generates >>>>>> >> errors like "undefined method `include?' for >>>>>> >> #". And this, of course, breaks >>>>>> >> the whole >>>>>> >> app. >>>>>> >> >>>>>> >> I'm using Rails 1.1.6, and so is DreamHost. >>>>>> >> >>>>>> >> I tried: >>>>>> >> installing Ruby 1.8.5 on DreamHost >>>>>> >> installing a custom rails package there >>>>>> >> freezing gems (including rails) into my app >>>>>> >> >>>>>> >> None of these make the slightest difference. >>>>>> >> >>>>>> >> I'm guess this might be a DreamHost problem not a Locomotive >>>>>> >> problem, but who knows. >>>>>> >> >>>>>> >> Does anyone have any ideas what might be going on? >>>>> > >>>>> > I'm not a Dreamhost user, but those errors look suspiciously familiar >>>>> > to a problem I had to solve on our production server a few weeks >>>>> > ago. It really looks like you have a Ruby version problem. I would >>>>> > try installing and using Ruby 1.8.4. >>>>> > >>>>> > Regards, Lori >>>>> > _______________________________________________ >>>>> > 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/20061117/8d52d654/attachment-0001.htm From ben2004uk at googlemail.com Sat Nov 25 09:36:10 2006 From: ben2004uk at googlemail.com (Ben Hall) Date: Sat Nov 25 09:36:15 2006 Subject: [Locomotive-users] Rails 1.2 along side 1.1.6? Message-ID: Hello, I was wondering if it was possible to have the new Rails 1.2 running alongside 1.1.6 so I can try the new features without messing up my existing applications and my platform. Is it possible to create another bundle clone from September but upgrade the rails version to 1.2? Would be great if you could.... Thanks Ben From jeffmil at us.ibm.com Sat Nov 25 15:04:20 2006 From: jeffmil at us.ibm.com (Jeffrey Miller) Date: Sat Nov 25 15:04:48 2006 Subject: [Locomotive-users] Jeff Miller is out of the office. Message-ID: I will be out of the office starting 11/18/2006 and will not return until 11/27/2006. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061125/cb8bd1d8/attachment.htm From ryan.raaum at gmail.com Sat Nov 25 15:23:05 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sat Nov 25 15:23:12 2006 Subject: [Locomotive-users] Rails 1.2 along side 1.1.6? In-Reply-To: References: Message-ID: On 11/25/06, Ben Hall wrote: > > Hello, > > I was wondering if it was possible to have the new Rails 1.2 running > alongside 1.1.6 so I can try the new features without messing up my > existing applications and my platform. > > Is it possible to create another bundle clone from September but > upgrade the rails version to 1.2? > > Would be great if you could.... Hi Ben, I'm not currently planning to create bundles for the release candidates - it's a lot of work for unstable bundles that will largely break your applications. I will definitely create new bundles for the final 1.2version as soon as that is released. However, you can update the rails in your current bundle and use the RAILS_GEM_VERSION setting in your environment.rb file to select which rails version is being used. Best, Ryan > Thanks > > Ben > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061125/c4a6aabf/attachment.htm From glloyd at gmail.com Mon Nov 27 14:23:31 2006 From: glloyd at gmail.com (Gareth Lloyd) Date: Mon Nov 27 14:24:04 2006 Subject: [Locomotive-users] Problem with generate Message-ID: I'm new to Rails, so I'm sure this will be a problem of my ignorance. Help very greatly appreciated. I'm working through the Agile Development book. I've got Rails running on locomotive, and a basic controller/view setup worked nicely. I have a database running on MySQL, and I've modified database.yml accordingly, and restarted the app in Locomotive. Entering "ruby script/generate scaffold Product Admin" starts working, but ends up with the following output: exists app/controllers/ exists app/helpers/ exists app/views/admin exists test/functional/ dependency model exists app/models/ exists test/unit/ exists test/fixtures/ identical app/models/product.rb identical test/unit/product_test.rb identical test/fixtures/products.yml getaddrinfo: No address associated with nodename I'm not sure how to interpret this error. I'm fairly sure Rails is communicating with my database. Thanks in advance for any help you can offer. From freshair0000 at hotmail.com Mon Nov 27 16:09:29 2006 From: freshair0000 at hotmail.com (Fresh Air) Date: Mon Nov 27 19:51:10 2006 Subject: [Locomotive-users] From Newbie: Running commands using Terminal with Locomotive Message-ID: Hello Ryan, I have managed to create a simple "hello" test app with locomotive, and used my browser to look at the app successfully. However, I cannot use Terminal to run commands like: "ruby script/generate controller say" This is the error message I am getting: ./script/../config/boot.rb:18:in `require': No such file to load -- rubygems (LoadError) from ./script/../config/boot.rb:18 from script/generate:2:in `require' from script/generate:2 Could you tell me what i am doing wrong? (I have only installed the standard locomotive package, not the extra bundle) Thank you for your help, MZ _________________________________________________________________ Stay up-to-date with your friends through the Windows Live Spaces friends list. http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mk From ni-di at web.de Mon Nov 27 20:29:29 2006 From: ni-di at web.de (Niko Dittmann) Date: Mon Nov 27 20:30:39 2006 Subject: [Locomotive-users] From Newbie: Running commands using Terminal with Locomotive In-Reply-To: References: Message-ID: <97802DA5-7B77-4C08-BDE4-11D942AF7C0D@web.de> Hi MZ. Did you start the Terminal from Locomotive? If you don't do that, the path to ruby and the gems isn't set correctly. Niko. Am 27.11.2006 um 17:09 schrieb Fresh Air: > Hello Ryan, > > I have managed to create a simple "hello" test app with locomotive, > and used my browser to look at the app successfully. > > However, I cannot use Terminal to run commands like: "ruby script/ > generate controller say" > > This is the error message I am getting: > > ./script/../config/boot.rb:18:in `require': No such file to load -- > rubygems (LoadError) > from ./script/../config/boot.rb:18 > from script/generate:2:in `require' > from script/generate:2 > > Could you tell me what i am doing wrong? > > (I have only installed the standard locomotive package, not the > extra bundle) > > Thank you for your help, > > MZ -- ____________________________ niko dittmann ____________________________ From richard at infoarts.info Mon Nov 27 20:05:40 2006 From: richard at infoarts.info (Richard Sandilands) Date: Mon Nov 27 22:15:51 2006 Subject: [Locomotive-users] From Newbie: Running commands using Terminal with Locomotive In-Reply-To: References: Message-ID: <430F67F8-E52F-486E-85FC-43BF029DD86B@infoarts.info> On 28/11/2006, at 3:09 AM, Fresh Air wrote: > However, I cannot use Terminal to run commands like: "ruby script/ > generate controller say" Are you opening the Terminal session from within Locomotive? Applications menu => "Open in Terminal" -- Richard Sandilands From freshair0000 at hotmail.com Mon Nov 27 22:19:40 2006 From: freshair0000 at hotmail.com (Fresh Air) Date: Mon Nov 27 22:19:44 2006 Subject: [Locomotive-users] From Newbie: Running commands using Terminalwith Locomoti In-Reply-To: <430F67F8-E52F-486E-85FC-43BF029DD86B@infoarts.info> Message-ID: Dear Richard, Thank you for your prompt response. I wasn't opening Terminal from Locomotive, but now that I am, I am getting the following error message (see below) Thanks, MZ /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 17, col 2: ` host: localhost' (ArgumentError) from /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/1.8/yaml.rb:133:in `load' from /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:459:in `database_configuration' from /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:181:in `initialize_database' from /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:84:in `process' from /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/initializer.rb:42:in `run' from ./script/../config/../config/environment.rb:13 from /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require' from /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/generate.rb:1 from /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in `require' from script/generate:3 >From: Richard Sandilands >Reply-To: locomotive-users@lists.raaum.org >To: locomotive-users@lists.raaum.org >Subject: Re: [Locomotive-users] From Newbie: Running commands using >Terminalwith Locomotive >Date: Tue, 28 Nov 2006 07:05:40 +1100 > >On 28/11/2006, at 3:09 AM, Fresh Air wrote: > >>However, I cannot use Terminal to run commands like: "ruby script/ >>generate controller say" > >Are you opening the Terminal session from within Locomotive? Applications >menu => "Open in Terminal" > >-- >Richard Sandilands >_______________________________________________ >Locomotive-users mailing list >Locomotive-users@lists.raaum.org >http://lists.raaum.org/mailman/listinfo/locomotive-users _________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001 From ryan.raaum at gmail.com Tue Nov 28 03:25:01 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Nov 28 03:25:40 2006 Subject: [Locomotive-users] From Newbie: Running commands using Terminalwith Locomoti In-Reply-To: References: <430F67F8-E52F-486E-85FC-43BF029DD86B@infoarts.info> Message-ID: On 11/27/06, Fresh Air wrote: > > Dear Richard, > > Thank you for your prompt response. I wasn't opening Terminal from > Locomotive, but now that I am, I am getting the following error message > (see > below) Make sure your database.yml file has no tabs in it. YAML can be very sensitive to small syntax errors. -r Thanks, > > MZ > > > > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/1.8/yaml.rb:133:in > `load': syntax error on line 17, col 2: ` host: localhost' > (ArgumentError) > from > > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/1.8/yaml.rb:133:in > `load' > from > > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails- > 1.1.6/lib/initializer.rb:459:in > `database_configuration' > from > > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails- > 1.1.6/lib/initializer.rb:181:in > `initialize_database' > from > > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails- > 1.1.6/lib/initializer.rb:84:in > `process' > from > > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails- > 1.1.6/lib/initializer.rb:42:in > `run' > from ./script/../config/../config/environment.rb:13 > from > > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > from > > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport- > 1.3.1/lib/active_support/dependencies.rb:147:in > `require' > from > > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails- > 1.1.6/lib/commands/generate.rb:1 > from > > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > from > > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport- > 1.3.1/lib/active_support/dependencies.rb:147:in > `require' > from script/generate:3 > > > > >From: Richard Sandilands > >Reply-To: locomotive-users@lists.raaum.org > >To: locomotive-users@lists.raaum.org > >Subject: Re: [Locomotive-users] From Newbie: Running commands using > >Terminalwith Locomotive > >Date: Tue, 28 Nov 2006 07:05:40 +1100 > > > >On 28/11/2006, at 3:09 AM, Fresh Air wrote: > > > >>However, I cannot use Terminal to run commands like: "ruby script/ > >>generate controller say" > > > >Are you opening the Terminal session from within > Locomotive? Applications > >menu => "Open in Terminal" > > > >-- > >Richard Sandilands > >_______________________________________________ > >Locomotive-users mailing list > >Locomotive-users@lists.raaum.org > >http://lists.raaum.org/mailman/listinfo/locomotive-users > > _________________________________________________________________ > Get free, personalized commercial-free online radio with MSN Radio powered > by Pandora http://radio.msn.com/?icid=T002MSN03A07001 > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061128/bdc81f55/attachment-0001.htm From freshair0000 at hotmail.com Tue Nov 28 07:12:08 2006 From: freshair0000 at hotmail.com (Fresh Air) Date: Tue Nov 28 09:22:57 2006 Subject: [Locomotive-users] From Newbie: Running commands usingTerminalwith Locomoti In-Reply-To: Message-ID: Dear Guys, Thank you for your help! Problem solved! I restarted the app and opened Terminal from Locomotive and everything works fine now! MZ >From: "Ryan Raaum" >Reply-To: locomotive-users@lists.raaum.org >To: locomotive-users@lists.raaum.org >Subject: Re: [Locomotive-users] From Newbie: Running commands >usingTerminalwith Locomoti >Date: Mon, 27 Nov 2006 22:25:01 -0500 > >On 11/27/06, Fresh Air wrote: >> >>Dear Richard, >> >>Thank you for your prompt response. I wasn't opening Terminal from >>Locomotive, but now that I am, I am getting the following error message >>(see >>below) > > > >Make sure your database.yml file has no tabs in it. YAML can be very >sensitive to small syntax errors. > >-r > >Thanks, >> >>MZ >> >> >> >>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/1.8/yaml.rb:133:in >>`load': syntax error on line 17, col 2: ` host: localhost' >>(ArgumentError) >> from >> >>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/1.8/yaml.rb:133:in >>`load' >> from >> >>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails- >>1.1.6/lib/initializer.rb:459:in >>`database_configuration' >> from >> >>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails- >>1.1.6/lib/initializer.rb:181:in >>`initialize_database' >> from >> >>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails- >>1.1.6/lib/initializer.rb:84:in >>`process' >> from >> >>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails- >>1.1.6/lib/initializer.rb:42:in >>`run' >> from ./script/../config/../config/environment.rb:13 >> from >> >>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >>`require' >> from >> >>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport- >>1.3.1/lib/active_support/dependencies.rb:147:in >>`require' >> from >> >>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/rails- >>1.1.6/lib/commands/generate.rb:1 >> from >> >>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >>`require' >> from >> >>/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/lib/ruby/gems/1.8/gems/activesupport- >>1.3.1/lib/active_support/dependencies.rb:147:in >>`require' >> from script/generate:3 >> >> >> >> >From: Richard Sandilands >> >Reply-To: locomotive-users@lists.raaum.org >> >To: locomotive-users@lists.raaum.org >> >Subject: Re: [Locomotive-users] From Newbie: Running commands using >> >Terminalwith Locomotive >> >Date: Tue, 28 Nov 2006 07:05:40 +1100 >> > >> >On 28/11/2006, at 3:09 AM, Fresh Air wrote: >> > >> >>However, I cannot use Terminal to run commands like: "ruby script/ >> >>generate controller say" >> > >> >Are you opening the Terminal session from within >>Locomotive? Applications >> >menu => "Open in Terminal" >> > >> >-- >> >Richard Sandilands >> >_______________________________________________ >> >Locomotive-users mailing list >> >Locomotive-users@lists.raaum.org >> >http://lists.raaum.org/mailman/listinfo/locomotive-users >> >>_________________________________________________________________ >>Get free, personalized commercial-free online radio with MSN Radio powered >>by Pandora http://radio.msn.com/?icid=T002MSN03A07001 >> >>_______________________________________________ >>Locomotive-users mailing list >>Locomotive-users@lists.raaum.org >>http://lists.raaum.org/mailman/listinfo/locomotive-users >> > > > >-- >Ryan Raaum >http://raaum.org >http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X >_______________________________________________ >Locomotive-users mailing list >Locomotive-users@lists.raaum.org >http://lists.raaum.org/mailman/listinfo/locomotive-users _________________________________________________________________ Talk now to your Hotmail contacts with Windows Live Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview From chris at integralimpressions.com Wed Nov 29 05:41:32 2006 From: chris at integralimpressions.com (Chris Abad) Date: Wed Nov 29 05:41:35 2006 Subject: [Locomotive-users] SQLite3 Version? In-Reply-To: References: Message-ID: <90DAA58B-7D87-40B6-868B-245B5D5A60DF@integralimpressions.com> According to the website, the Sept. 2006 bundles are supposed to have sqlite3 3.3.5 installed. For some reason, I seem to have 3.1.3 on mine. I've tried both the rmagick and non-rmagick versions of the Sept. 2006 bundle. I've also tried re-downloading them. No dice. If it helps at all, I'm running the x86 version of the rmagick sept. 2006 bundle. Anyone else had this problem? Know how to fix it? If not, could someone tell me the easiest way to upgrade sqlite3 within the bundle? I used DarwinPorts to upgrade sqlite3 on my system... but I'm not really sure what configuration I'd need to set to install it properly in the bundle. Thanks. From ni-di at web.de Wed Nov 29 10:14:22 2006 From: ni-di at web.de (Niko Dittmann) Date: Wed Nov 29 10:14:32 2006 Subject: [Locomotive-users] SQLite3 Version? In-Reply-To: <90DAA58B-7D87-40B6-868B-245B5D5A60DF@integralimpressions.com> References: <90DAA58B-7D87-40B6-868B-245B5D5A60DF@integralimpressions.com> Message-ID: Hi Chris. It's 3.3.7 in my RMagick Rails Sept. 2006 for PPC bundle. So perhaps the bundles for PPC and x86 have different sqlite-builds? % sqlite3 -version 3.3.7 % which sqlite3 /Applications/Locomotive2/Bundles/rmagickRailsSept2006_ppc.locobundle/ framework/bin/sqlite3 Niko. Am 29.11.2006 um 06:41 schrieb Chris Abad: > According to the website, the Sept. 2006 bundles are supposed to > have sqlite3 3.3.5 installed. For some reason, I seem to have 3.1.3 > on mine. I've tried both the rmagick and non-rmagick versions of > the Sept. 2006 bundle. I've also tried re-downloading them. No dice. > > If it helps at all, I'm running the x86 version of the rmagick > sept. 2006 bundle. Anyone else had this problem? Know how to fix > it? If not, could someone tell me the easiest way to upgrade > sqlite3 within the bundle? I used DarwinPorts to upgrade sqlite3 on > my system... but I'm not really sure what configuration I'd need to > set to install it properly in the bundle. > > Thanks. -- ____________________________ niko dittmann ____________________________ From ryan.raaum at gmail.com Wed Nov 29 14:15:06 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Nov 29 14:15:17 2006 Subject: [Locomotive-users] SQLite3 Version? In-Reply-To: References: <90DAA58B-7D87-40B6-868B-245B5D5A60DF@integralimpressions.com> Message-ID: On 11/29/06, Niko Dittmann wrote: > > Hi Chris. > > It's 3.3.7 in my RMagick Rails Sept. 2006 for PPC bundle. So perhaps > the bundles for PPC and x86 have different sqlite-builds? > > % sqlite3 -version > 3.3.7 > > % which sqlite3 > /Applications/Locomotive2/Bundles/rmagickRailsSept2006_ppc.locobundle/ > framework/bin/sqlite3 > > Niko. > > Am 29.11.2006 um 06:41 schrieb Chris Abad: > > According to the website, the Sept. 2006 bundles are supposed to > > have sqlite3 3.3.5 installed. For some reason, I seem to have 3.1.3 > > on mine. I've tried both the rmagick and non-rmagick versions of > > the Sept. 2006 bundle. I've also tried re-downloading them. No dice. > > > > If it helps at all, I'm running the x86 version of the rmagick > > sept. 2006 bundle. Anyone else had this problem? Know how to fix > > it? If not, could someone tell me the easiest way to upgrade > > sqlite3 within the bundle? I used DarwinPorts to upgrade sqlite3 on > > my system... but I'm not really sure what configuration I'd need to > > set to install it properly in the bundle. As Intel macs all _must_ be 10.4, and 10.4 includes sqlite3, I didn't see the need to include it in the bundle. Perhaps that was the wrong decision. To satisfy my curiosity, what's new in 3.3.5 that isn't in 3.1.3? Anyways, if you think it makes a big difference, I can add the newest and coolest sqlite3 to future x86 Locomotive bundles. For now, you could build sqlite3 from scratch and install it in the bundle (sqlite3 builds easily on os x). Open a normal terminal and do: curl -O http://www.sqlite.org/sqlite-3.3.8.tar.gz tar -xvzf sqlite-* cd sqlite-* ./configure --prefix=/Applications/Locomotive2// make sudo make install (you'll need to work out the correct path for the configure line depending on your bundle - probably easiest to infer the correct value here from the PATH environment variable in a Locomotive-opened terminal: just subtract "/bin" from the bundle bin path) Best, -r > > > Thanks. > > > -- > ____________________________ > niko dittmann > ____________________________ > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061129/ec9d74ef/attachment.htm From ryan.raaum at gmail.com Wed Nov 29 16:26:50 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Nov 29 16:33:45 2006 Subject: [Locomotive-users] Problem with generate In-Reply-To: References: Message-ID: On 11/27/06, Gareth Lloyd wrote: > > I'm new to Rails, so I'm sure this will be a problem of my ignorance. > Help very greatly appreciated. > > I'm working through the Agile Development book. I've got Rails > running on locomotive, and a basic controller/view setup worked > nicely. I have a database running on MySQL, and I've modified > database.yml accordingly, and restarted the app in Locomotive. > > Entering "ruby script/generate scaffold Product Admin" starts > working, but ends up with the following output: > > exists app/controllers/ > exists app/helpers/ > exists app/views/admin > exists test/functional/ > dependency model > exists app/models/ > exists test/unit/ > exists test/fixtures/ > identical app/models/product.rb > identical test/unit/product_test.rb > identical test/fixtures/products.yml > getaddrinfo: No address associated with nodename > > > I'm not sure how to interpret this error. I'm fairly sure Rails is > communicating with my database. That really looks like a database communication error of some sort... but I haven't really got any good ideas on how to address it... -r Thanks in advance for any help you can offer. > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061129/6bec1a11/attachment.htm From chris at integralimpressions.com Wed Nov 29 18:55:29 2006 From: chris at integralimpressions.com (Chris Abad) Date: Wed Nov 29 18:55:43 2006 Subject: [Locomotive-users] SQLite3 Version? In-Reply-To: References: <90DAA58B-7D87-40B6-868B-245B5D5A60DF@integralimpressions.com> Message-ID: Thanks Ryan, That's exactly what I need. Moving forward, I would recommend including the latest version of SQLite3 with the bundles just for the sake of consistency. I don't know all the differences, but what I did learn is db's created w/ 3.3 do not work with 3.1. I learned this while trying to pass back and forth db files with another developer. What is strange is if sqlite3 isn't included in the x86 bundle, wouldn't that mean it'd end up using the version I have installed on my computer? I upgraded the version on my computer to 3.3.7 (however I didn't remove 3.1.3). So right now, it looks like Locomotive is picking up 3.1.3, yet if I just open up a terminal window I pick up 3.3.7. On Nov 29, 2006, at 6:15 AM, Ryan Raaum wrote: > As Intel macs all _must_ be 10.4, and 10.4 includes sqlite3, I > didn't see the need to include it in the bundle. Perhaps that was > the wrong decision. To satisfy my curiosity, what's new in 3.3.5 > that isn't in 3.1.3? > > Anyways, if you think it makes a big difference, I can add the > newest and coolest sqlite3 to future x86 Locomotive bundles. > > For now, you could build sqlite3 from scratch and install it in the > bundle (sqlite3 builds easily on os x). Open a normal terminal and > do: > > curl -O http://www.sqlite.org/sqlite-3.3.8.tar.gz > tar -xvzf sqlite-* > cd sqlite-* > ./configure --prefix=/Applications/Locomotive2// > make > sudo make install > > (you'll need to work out the correct path for the configure line > depending on your bundle - probably easiest to infer the correct > value here from the PATH environment variable in a Locomotive- > opened terminal: just subtract "/bin" from the bundle bin path) > > Best, > > -r -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061129/af749aef/attachment.htm From ryan.raaum at gmail.com Wed Nov 29 20:15:06 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Wed Nov 29 20:15:14 2006 Subject: [Locomotive-users] SQLite3 Version? In-Reply-To: References: <90DAA58B-7D87-40B6-868B-245B5D5A60DF@integralimpressions.com> Message-ID: On 11/29/06, Chris Abad wrote: > > Thanks Ryan, > > That's exactly what I need. Moving forward, I would recommend including > the latest version of SQLite3 with the bundles just for the sake of > consistency. I don't know all the differences, but what I did learn is db's > created w/ 3.3 do not work with 3.1. I learned this while trying to pass > back and forth db files with another developer. > Right. Good reason. What is strange is if sqlite3 isn't included in the x86 bundle, wouldn't > that mean it'd end up using the version I have installed on my computer? I > upgraded the version on my computer to 3.3.7 (however I didn't remove > 3.1.3). So right now, it looks like Locomotive is picking up 3.1.3, yet if > I just open up a terminal window I pick up 3.3.7. > I pretty sure what's happening is that /usr/bin is before /usr/local/bin in the PATH that Locomotive uses and that the 3.3.7 sqlite3 that you installed is in /usr/local. (I _think_ you could change that in the bundles environment.plist file - but I'm not on a mac to confirm that right now). -r On Nov 29, 2006, at 6:15 AM, Ryan Raaum wrote: > > As Intel macs all _must_ be 10.4, and 10.4 includes sqlite3, I didn't see > the need to include it in the bundle. Perhaps that was the wrong decision. > To satisfy my curiosity, what's new in 3.3.5 that isn't in 3.1.3? > > Anyways, if you think it makes a big difference, I can add the newest and > coolest sqlite3 to future x86 Locomotive bundles. > > For now, you could build sqlite3 from scratch and install it in the bundle > (sqlite3 builds easily on os x). Open a normal terminal and do: > > curl -O http://www.sqlite.org/sqlite-3.3.8.tar.gz > tar -xvzf sqlite-* > cd sqlite-* > ./configure --prefix=/Applications/Locomotive2// > make > sudo make install > > (you'll need to work out the correct path for the configure line depending > on your bundle - probably easiest to infer the correct value here from the > PATH environment variable in a Locomotive-opened terminal: just subtract > "/bin" from the bundle bin path) > > Best, > > -r > > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > -- Ryan Raaum http://raaum.org http://locomotive.raaum.org -- Self contained one-click Rails for Mac OS X -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061129/59c6e3d0/attachment-0001.htm From chris at integralimpressions.com Wed Nov 29 22:10:17 2006 From: chris at integralimpressions.com (Chris Abad) Date: Wed Nov 29 22:10:24 2006 Subject: [Locomotive-users] SQLite3 Version? In-Reply-To: References: <90DAA58B-7D87-40B6-868B-245B5D5A60DF@integralimpressions.com> Message-ID: Okay, thanks. Even better... darwinports installed to /opt/local/bin. I just needed to add that to my path. On Nov 29, 2006, at 12:15 PM, Ryan Raaum wrote: > > > On 11/29/06, Chris Abad wrote: > Thanks Ryan, > > That's exactly what I need. Moving forward, I would recommend > including the latest version of SQLite3 with the bundles just for > the sake of consistency. I don't know all the differences, but what > I did learn is db's created w/ 3.3 do not work with 3.1. I learned > this while trying to pass back and forth db files with another > developer. > > Right. Good reason. > > What is strange is if sqlite3 isn't included in the x86 bundle, > wouldn't that mean it'd end up using the version I have installed > on my computer? I upgraded the version on my computer to 3.3.7 > (however I didn't remove 3.1.3). So right now, it looks like > Locomotive is picking up 3.1.3, yet if I just open up a terminal > window I pick up 3.3.7. > > I pretty sure what's happening is that /usr/bin is before /usr/ > local/bin in the PATH that Locomotive uses and that the 3.3.7 > sqlite3 that you installed is in /usr/local. (I _think_ you could > change that in the bundles environment.plist file - but I'm not on > a mac to confirm that right now). > > -r > > On Nov 29, 2006, at 6:15 AM, Ryan Raaum wrote: > >> As Intel macs all _must_ be 10.4, and 10.4 includes sqlite3, I >> didn't see the need to include it in the bundle. Perhaps that was >> the wrong decision. To satisfy my curiosity, what's new in 3.3.5 >> that isn't in 3.1.3? >> >> Anyways, if you think it makes a big difference, I can add the >> newest and coolest sqlite3 to future x86 Locomotive bundles. >> >> For now, you could build sqlite3 from scratch and install it in >> the bundle (sqlite3 builds easily on os x). Open a normal >> terminal and do: >> >> curl -O http://www.sqlite.org/sqlite-3.3.8.tar.gz >> tar -xvzf sqlite-* >> cd sqlite-* >> ./configure --prefix=/Applications/Locomotive2// >> make >> sudo make install >> >> (you'll need to work out the correct path for the configure line >> depending on your bundle - probably easiest to infer the correct >> value here from the PATH environment variable in a Locomotive- >> opened terminal: just subtract "/bin" from the bundle bin path) >> >> Best, >> >> -r > > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > > > > > > -- > Ryan Raaum > http://raaum.org > http://locomotive.raaum.org -- Self contained one-click 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/20061129/26d49e0a/attachment.htm From freshair0000 at hotmail.com Thu Nov 30 08:23:53 2006 From: freshair0000 at hotmail.com (Fresh Air) Date: Thu Nov 30 08:24:00 2006 Subject: [Locomotive-users] from Newbie: problem installing downloaded Rails Apps In-Reply-To: Message-ID: Hello, I can only run Rails apps I have created myself using Locomotive. Whenever I try to install existing Rails apps downloaded from the web, and run them using Locomotive, my browser always shows the error: "can't establish a connection to the server at localhost:XXXX" I have tried editing the following files: config/database.yml config/environment.rb but my browser still cannot connect! Additional Note: I get the following warning from locomotive, and tried clicking on "change it as well as "continue without changing". Both options did not work. "Warning! The Ruby interpreter referenced this Rails application's dispatch.fcgi file may not refer to the Ruby in Locomotive. If you choose to continue without changing this, your application may not function properly - or at all! Choosing 'Change It' will change the dispatch.fcgi shebang line to: '#!/usr/bin/env ruby'" Please help if you can. Thank you, MZ _________________________________________________________________ Fixing up the home? Live Search can help http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmemailtaglinenov06&FORM=WLMTAG