From dwayne at futmedia.com Sun Dec 3 19:27:35 2006 From: dwayne at futmedia.com (Dwayne Purper) Date: Sun Dec 3 20:34:08 2006 Subject: [Locomotive-users] Mongrel cluster and Locomotive? Message-ID: <7036F4D2-98EA-4198-B078-8900F0207E0D@futmedia.com> I'm running Locomotive on my development machine and am trying to set up my production app at Rimuhosting. The deployment chapter of the 2nd edition of Agile Web Development with Rails offers a similar setup to codahale's instructions here: http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails- mongrel-apache-capistrano-and-you/ ... Mongrel, Capistrano using mongrel_cluster in front of Apache 2.2, and this seems to be where most people are headed (or maybe not). Both call for setting up the mongrel cluster stuff on both the dev and production machines, then using Capistrano to deploy. I'm happy with my development machine running Locomotive, so I started out trying to set up just my production machine. But when I deploy, I think I overwrite my log file permissions, which screws up mongrel in production because it can't access the log directory. Maybe there are some other issues, but I'm no UNIX expert, and since I didn't follow the recipes exactly, I'm not qualified to know. So, my question: Is anyone else following either of these setups? Is anyone setting up just the production server and using Locomotive on the development machine? If I install and configure Mongrel as specified, am I going to hose Locomotive on my development machine? And, btw, do I need to have Apple's Developer Tools installed to do all this? The main issue is, I don't know what Locomotive is doing vs. a manual setup, and I don't know how much flexibility I have in altering the underlying server/rails setup, etc. Oh, and I don't completely know what I'm doing, but I'm learning a bit with each mistake ... Thanks for any feedback. -- Dwayne From chris at integralimpressions.com Sun Dec 3 20:45:20 2006 From: chris at integralimpressions.com (Chris Abad) Date: Sun Dec 3 20:45:17 2006 Subject: [Locomotive-users] Mongrel cluster and Locomotive? In-Reply-To: <7036F4D2-98EA-4198-B078-8900F0207E0D@futmedia.com> References: <7036F4D2-98EA-4198-B078-8900F0207E0D@futmedia.com> Message-ID: I don't think this directly answers your main question... but you typically don't want your log files version controlled. As long as they are not version-controlled the permissions shouldn't be an issue. Your app should re-generate log files owned by your capistrano user. On Dec 3, 2006, at 11:27 AM, Dwayne Purper wrote: > But when I deploy, I think I overwrite my log file permissions, > which screws up mongrel in production because it can't access the > log directory. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061203/f78829f7/attachment.htm From dwayne at futmedia.com Sun Dec 3 21:09:30 2006 From: dwayne at futmedia.com (Dwayne Purper) Date: Sun Dec 3 21:09:40 2006 Subject: [Locomotive-users] Mongrel cluster and Locomotive? In-Reply-To: References: <7036F4D2-98EA-4198-B078-8900F0207E0D@futmedia.com> Message-ID: Hm, hadn't quite thought of that, but I can completely take the log directory out of version control. I'll see what happens. I think I might be having other problems in addition to that, but we'll see. Thanks. > I don't think this directly answers your main question... but you > typically don't want your log files version controlled. As long as > they are not version-controlled the permissions shouldn't be an > issue. Your app should re-generate log files owned by your > capistrano user. > > On Dec 3, 2006, at 11:27 AM, Dwayne Purper wrote: > >> But when I deploy, I think I overwrite my log file permissions, >> which screws up mongrel in production because it can't access the >> log directory. > > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users -- Dwayne Purper Futura : Durham, NC USA print : web : multimedia www.futuracreative.com From seggy at coupa.com Fri Dec 8 07:27:25 2006 From: seggy at coupa.com (Seggy Umboh) Date: Fri Dec 8 11:46:16 2006 Subject: [Locomotive-users] Reduce the size of the Universal binaries Message-ID: <4e95c1d40612072327r765c0a56x1e8084b59ef744e7@mail.gmail.com> Hello everyone, I am writing to thank Ryan for an amazing product that we use to create a Mac distribution of our open source procurement software ( http://www.coupa.com/), and also to suggest an optimization for the Locomotive distribution itself, as well as for others who want to repackage it. Since Locomotive starting shipping as a Universal binary, it has had to included two trees of files, many of which are actually platform independent ruby or C code, so we decided to save on this duplication. Here's a script that will traverse one tree, and for each file in this tree, look for an identical file in another tree, delete the file in the original tree, and create a symlink in its place to point to the duplicate file in the other tree: http://seggyscripts.googlecode.com/svn/trunk/link_duplicates.rb Thanks again, and enjoy! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061208/56ac4c6c/attachment.htm From freire at gmail.com Sat Dec 9 17:52:29 2006 From: freire at gmail.com (Alexandre Freire) Date: Sat Dec 9 17:55:14 2006 Subject: [Locomotive-users] gem i hpricot on osx - not working? Message-ID: Hi, I have a strange problem when trying to install hpricot through gem. Make seems to work, but gives this warning: deathstar:~/eclipse_workspace/lhama alex$ gem install hpricot Select which gem to install for your platform (powerpc-darwin7.9.0) 1. hpricot 0.4 (ruby) 2. hpricot 0.4 (mswin32) 3. Cancel installation 1 ruby extconf.rb install hpricot checking for main() in -lc... no creating Makefile make gcc -fno-common -I/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle /powerpc/include -pipe -fno-common -I. -I/Users/alex/Desktop/Locomotive2/Bundles/ standardRailsSept2006.locobundle/powerpc/lib/ruby/1.8/powerpc-darwin7.9.0 -I/Users/alex/Desktop/Locomotive2/Bundles/ standardRailsSept2006.locobundle/powerpc/lib/ruby/1.8/powerpc-darwin7.9.0 -I. -I/Applications/Locomotive2/Bundles/ standardRailsSept2006.locobundle/powerpc/include -c hpricot_scan.c cc -dynamic -bundle -undefined suppress -flat_namespace -L"/Users/alex/Desktop/Locomotive2/Bundles/ standardRailsSept2006.locobundle/powerpc/lib" -o hpricot_scan.bundle hpricot_scan.o -lpthread -ldl -lobjc ld: can't locate file for: -lbundle1.o make install cc -dynamic -bundle -undefined suppress -flat_namespace -L"/Users/alex/Desktop/Locomotive2/Bundles/ standardRailsSept2006.locobundle/powerpc/lib" -o hpricot_scan.bundle hpricot_scan.o -lpthread -ldl -lobjc ld: can't locate file for: -lbundle1.o make clean Successfully installed hpricot-0.4 then whenever i try a require 'hpricot' i get: /Users/alex/Desktop/Locomotive2/Bundles/ standardRailsSept2006.locobundle/powerpc/ lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in `gem_original_require': no such file to load -- hpricot_scan (MissingSourceFile) however, the hpricot_scan.so file is there... any clues? thank you x From spamfreeuniverse at gmail.com Sun Dec 10 12:31:39 2006 From: spamfreeuniverse at gmail.com (Shannon) Date: Sun Dec 10 12:31:46 2006 Subject: [Locomotive-users] Action Controller Error Message-ID: <600B196E-1B85-400A-A1D1-F1731E604F54@gmail.com> I have created my database, am able to connect and create tables. However, after visited a recently created scaffolding i get the following. I found a similar thread on here, but it was never answered. NoMethodError in Contributor#index Showing Applications/Locomotive2/Bundles/ standardRailsSept2006.locobundle/powerpc/lib/ruby/gems/1.8/gems/ actionpack-1.12.5/lib/action_controller/templates/scaffolds/ list.rhtml where line #5 raised: undefined method `content_columns' for ActionController::Layout:Module Extracted source (around line #5): 2: 3: 4: 5: <% for column in @scaffold_class.content_columns %> 6: 7: <% end %> 8: RAILS_ROOT: /Users/Shanny/Sites/dev/rails/somanylayouts/config/.. Application Trace | Framework Trace | Full Trace /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ action_controller/templates/scaffolds/list.rhtml:5:in `_run_rhtml__Applications_Locomotive2_Bundles_standardRailsSept200646loc obundle_powerpc_lib_ruby_gems_1468_gems_actionpack_14612465_lib_action_c ontroller_templates_scaffolds_list' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/ base.rb:316:in `compile_and_render_template' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/ base.rb:292:in `render_template' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/ base.rb:251:in `render_file' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ action_controller/scaffolding.rb:168:in `render_scaffold' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ action_controller/scaffolding.rb:110:in `list' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ action_controller/scaffolding.rb:97:in `index' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ action_controller/base.rb:941:in `perform_action_without_filters' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ action_controller/filters.rb:368:in `perform_action_without_benchmark' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/1.8/benchmark.rb:293:in `measure' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ action_controller/benchmarking.rb:69:in `perform_action_without_rescue' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ action_controller/rescue.rb:82:in `perform_action' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ action_controller/base.rb:408:in `process_without_filters' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ action_controller/filters.rb:377:in `process_without_session_management_support' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ action_controller/session_management.rb:117:in `process' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in `dispatch' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb: 84:in `process' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/1.8/sync.rb:229:in `synchronize' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb: 83:in `process' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:580:in `process_client' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:579:in `process_client' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in `run' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in `run' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in `run' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ configurator.rb:267:in `run' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ configurator.rb:266:in `run' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails: 127:in `run' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ command.rb:211:in `run' /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:231 /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ powerpc/bin/mongrel_rails:18 From coldredlemur at gmail.com Sun Dec 10 20:45:23 2006 From: coldredlemur at gmail.com (Ryan Dahl) Date: Sun Dec 10 20:50:16 2006 Subject: [Locomotive-users] RI documentation Message-ID: I was wondering if anyone could give me some hints about getting the ri documentation to work for gems in the locomotive package. I recently upgraded my Rails gem and in the process it told me that it was installing documentation Installing ri documentation for actionmailer-1.2.5.5618... Installing ri documentation for actionwebservice-1.1.6.5618... But I don't see anything in ri -c related to my gems. Ry From ryan.raaum at gmail.com Mon Dec 11 13:58:19 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Mon Dec 11 14:07:37 2006 Subject: [Locomotive-users] gem i hpricot on osx - not working? In-Reply-To: References: Message-ID: On 12/9/06, Alexandre Freire wrote: > > Hi, > > I have a strange problem when trying to install hpricot through gem. > Make seems > to work, but gives this warning: > > deathstar:~/eclipse_workspace/lhama alex$ gem install hpricot > Select which gem to install for your platform (powerpc-darwin7.9.0) > 1. hpricot 0.4 (ruby) > 2. hpricot 0.4 (mswin32) > 3. Cancel installation > 1 > ruby extconf.rb install hpricot > checking for main() in -lc... no > creating Makefile > > make > gcc -fno-common > -I/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle > /powerpc/include > -pipe -fno-common -I. > -I/Users/alex/Desktop/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/powerpc/lib/ruby/1.8/powerpc-darwin7.9.0 > -I/Users/alex/Desktop/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/powerpc/lib/ruby/1.8/powerpc-darwin7.9.0 > -I. > -I/Applications/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/powerpc/include > -c hpricot_scan.c > cc -dynamic -bundle -undefined suppress -flat_namespace > -L"/Users/alex/Desktop/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/powerpc/lib" > -o hpricot_scan.bundle hpricot_scan.o -lpthread -ldl -lobjc > ld: can't locate file for: -lbundle1.o > > make install > cc -dynamic -bundle -undefined suppress -flat_namespace > -L"/Users/alex/Desktop/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/powerpc/lib" > -o hpricot_scan.bundle hpricot_scan.o -lpthread -ldl -lobjc > ld: can't locate file for: -lbundle1.o > > make clean > Successfully installed hpricot-0.4 > > > then whenever i try a > > require 'hpricot' > > i get: > > /Users/alex/Desktop/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/powerpc/ > lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:33:in > `gem_original_require': no such file to load -- hpricot_scan > (MissingSourceFile) > > however, the hpricot_scan.so file is there... > > any clues? Not really. I tried installing hpricot on my intel mac and it worked fine. I need to pull out my powerpc laptop and try on it... hopefully I will be able to do that soon... -r thank you > x > > _______________________________________________ > 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/20061211/c690ffc9/attachment.htm From ryan.raaum at gmail.com Mon Dec 11 14:02:36 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Mon Dec 11 14:11:21 2006 Subject: [Locomotive-users] Action Controller Error In-Reply-To: <600B196E-1B85-400A-A1D1-F1731E604F54@gmail.com> References: <600B196E-1B85-400A-A1D1-F1731E604F54@gmail.com> Message-ID: On 12/10/06, Shannon wrote: > > I have created my database, am able to connect and create tables. > However, after visited a recently created scaffolding i get the > following. I found a similar thread on here, but it was never answered. > > NoMethodError in Contributor#index > > Showing Applications/Locomotive2/Bundles/ > standardRailsSept2006.locobundle/powerpc/lib/ruby/gems/1.8/gems/ > actionpack-1.12.5/lib/action_controller/templates/scaffolds/ > list.rhtml where line #5 raised: > > undefined method `content_columns' for ActionController::Layout:Module > > Extracted source (around line #5): > > 2: > 3:
<%= column.human_name %>
> 4: > 5: <% for column in @scaffold_class.content_columns %> > 6: > 7: <% end %> > 8: Can you give more details on the table setup and the scaffold command you used. -r RAILS_ROOT: /Users/Shanny/Sites/dev/rails/somanylayouts/config/.. > Application Trace | Framework Trace | Full Trace > > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ > action_controller/templates/scaffolds/list.rhtml:5:in > `_run_rhtml__Applications_Locomotive2_Bundles_standardRailsSept200646loc > obundle_powerpc_lib_ruby_gems_1468_gems_actionpack_14612465_lib_action_c > ontroller_templates_scaffolds_list' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/ > base.rb:316:in `compile_and_render_template' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/ > base.rb:292:in `render_template' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/ > base.rb:251:in `render_file' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ > action_controller/scaffolding.rb:168:in `render_scaffold' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ > action_controller/scaffolding.rb:110:in `list' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ > action_controller/scaffolding.rb:97:in `index' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ > action_controller/base.rb:941:in `perform_action_without_filters' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ > action_controller/filters.rb:368:in `perform_action_without_benchmark' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ > action_controller/benchmarking.rb:69:in `perform_action_without_rescue' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/1.8/benchmark.rb:293:in `measure' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ > action_controller/benchmarking.rb:69:in `perform_action_without_rescue' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ > action_controller/rescue.rb:82:in `perform_action' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ > action_controller/base.rb:408:in `process_without_filters' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ > action_controller/filters.rb:377:in > `process_without_session_management_support' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ > action_controller/session_management.rb:117:in `process' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in > `dispatch' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb: > 84:in `process' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/1.8/sync.rb:229:in `synchronize' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb: > 83:in `process' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:580:in > `process_client' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:579:in > `process_client' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in > `run' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in > `run' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in > `run' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ > configurator.rb:267:in `run' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ > configurator.rb:266:in `run' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails: > 127:in `run' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ > command.rb:211:in `run' > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:231 > /Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ > powerpc/bin/mongrel_rails:18 > > > _______________________________________________ > 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/20061211/ca256dcd/attachment.htm From ryan.raaum at gmail.com Mon Dec 11 15:25:04 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Mon Dec 11 15:27:26 2006 Subject: [Locomotive-users] RI documentation In-Reply-To: References: Message-ID: On 12/10/06, Ryan Dahl wrote: > > I was wondering if anyone could give me some hints about getting the ri > documentation to work for gems in the locomotive package. > > I recently upgraded my Rails gem and in the process it told me that it was > installing documentation > Installing ri documentation for actionmailer-1.2.5.5618... > Installing ri documentation for actionwebservice-1.1.6.5618... > But I don't see anything in ri -c related to my gems. I'm afraid I don't have any real answer here. Anyone else? -r Ry > > _______________________________________________ > 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/20061211/47470a04/attachment-0001.htm From ryan.raaum at gmail.com Mon Dec 11 13:59:46 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Mon Dec 11 15:37:59 2006 Subject: [Locomotive-users] from Newbie: problem installing downloaded Rails Apps In-Reply-To: References: Message-ID: On 11/30/06, Fresh Air wrote: > > 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, 1. Make sure the line endings are ok. 2. Try opening a Terminal and starting the console ("ruby script/console"), you will often see more informative error messages there. 3. Look at the logs. Best, -r 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 > > _______________________________________________ > 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/20061211/1a3efc77/attachment.htm From alain.ravet at gmail.com Wed Dec 13 15:04:22 2006 From: alain.ravet at gmail.com (Alain Ravet) Date: Wed Dec 13 17:59:49 2006 Subject: [Locomotive-users] Reduce the size of the Universal binaries In-Reply-To: <4e95c1d40612072327r765c0a56x1e8084b59ef744e7@mail.gmail.com> References: <4e95c1d40612072327r765c0a56x1e8084b59ef744e7@mail.gmail.com> Message-ID: > Since Locomotive starting shipping as a Universal binary, it has had to > included two trees of files, many of which are actually platform independent > ruby or C code, so we decided to save on this duplication... A more generic solution is TrimTheFat : http://www.versiontracker.com/dyn/moreinfo/macosx/28882 On PowerPC, it trims 350 KB out of Locomotive original 2.5MB. Alain From seggy.umboh at gmail.com Wed Dec 13 18:32:37 2006 From: seggy.umboh at gmail.com (Seggy Umboh) Date: Wed Dec 13 18:33:50 2006 Subject: [Locomotive-users] Reduce the size of the Universal binaries In-Reply-To: References: <4e95c1d40612072327r765c0a56x1e8084b59ef744e7@mail.gmail.com> Message-ID: Hmm...if I am reading the program description right, it seems like TrimTheFat actually removes support for architectures other than your own. The script I have written merely eliminates duplicate files. In other words, the program will continue to support all architectures, but has the downside of only reducing the size of text files. Locomotive stands to benefit greatly here because it contains numerous ruby files that are duplicated between the two architectures. Will get numbers when I have time... On 12/13/06, Alain Ravet wrote: > > > Since Locomotive starting shipping as a Universal binary, it has had to > > included two trees of files, many of which are actually platform > independent > > ruby or C code, so we decided to save on this duplication... > > > A more generic solution is TrimTheFat : > http://www.versiontracker.com/dyn/moreinfo/macosx/28882 > > On PowerPC, it trims 350 KB out of Locomotive original 2.5MB. > > Alain > _______________________________________________ > 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/20061213/567c9620/attachment.htm From adam at rokslide.com Sat Dec 16 14:10:21 2006 From: adam at rokslide.com (adam@rokslide.com) Date: Sat Dec 16 14:11:14 2006 Subject: [Locomotive-users] New bundle for locomotive... Message-ID: <2CF7D928-BA98-4143-8C28-3A950A804D69@rokslide.com> Is there a new bundle expected for Locomotive? I was reading the archives and there was talk of weird caching problems, which I'm getting as well. It's so frustrating... I think it might be mongrel, because it doesn't seem to happen with my install of lighttpd. Is anybody else getting these weird errors? Basically as was discussed in the archives you can delete a file and the page still displays the same as before.... particularly helper files and plugins in lib/ -Adam From coldredlemur at gmail.com Sat Dec 16 16:42:35 2006 From: coldredlemur at gmail.com (Ryan Dahl) Date: Sat Dec 16 16:42:56 2006 Subject: [Locomotive-users] Re: RI documentation References: Message-ID: Here is a setup for RI (actually FastRI) which works for me gem install fastri fastri-server --full-text-dir /Applications/Locomotive/Bundles/edit/framework/lib/ruby/gems/1.8/doc & fri ActiveRecord::Base More info at http://eigenclass.org/hiki.rb?fastri From bre_ice at hotmail.com Tue Dec 19 20:25:17 2006 From: bre_ice at hotmail.com (Wilson Tsang) Date: Tue Dec 19 20:25:30 2006 Subject: [Locomotive-users] Locomotive hangs while creating new app Message-ID: Hi, I just installed Locomotive and when I try to create a new application it just hangs. It displays the "This will take a few seconds..." message and the wheel is still spinning but nothing happens. I've installed it and reinstalled it several times and checked the System Console every time and it shows this error message: 2006-12-19 12:14:11.577 Locomotive[1040] *** -[NSCFArray objectAtIndex:]: index (-1) beyond bounds (0) Any ideas? Am I doing something wrong? I'm using a MacBook Pro & Locomotive 2.0.8. Cheers, Will _________________________________________________________________ Download now! Visit http://www.telusmobility.com/msnxbox/ to enter and see how cool it is to get Messenger with you on your cell phone. http://www.telusmobility.com/msnxbox/ From ryan.raaum at gmail.com Tue Dec 19 23:53:50 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Tue Dec 19 23:54:38 2006 Subject: [Locomotive-users] Locomotive hangs while creating new app In-Reply-To: References: Message-ID: How did you install it? Where are the bundles? Best, -r On 12/19/06, Wilson Tsang wrote: > > Hi, > > I just installed Locomotive and when I try to create a new application it > just hangs. It displays the "This will take a few seconds..." message and > the wheel is still spinning but nothing happens. I've installed it and > reinstalled it several times and checked the System Console every time and > it shows this error message: > > 2006-12-19 12:14:11.577 Locomotive[1040] *** -[NSCFArray objectAtIndex:]: > index (-1) beyond bounds (0) > > Any ideas? Am I doing something wrong? I'm using a MacBook Pro & > Locomotive > 2.0.8. > > Cheers, > Will > > _________________________________________________________________ > Download now! Visit http://www.telusmobility.com/msnxbox/ to enter and see > how cool it is to get Messenger with you on your cell phone. > http://www.telusmobility.com/msnxbox/ > > _______________________________________________ > 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/20061219/76231247/attachment.htm From rmuller at whackdesign.com Tue Dec 19 23:55:10 2006 From: rmuller at whackdesign.com (rmuller@whackdesign.com) Date: Tue Dec 19 23:55:15 2006 Subject: [Locomotive-users] WHACK mediia design - Rodrigo Muller Message-ID: <20061219235510.5633.qmail@www.whackdesign.com> I will be out of the country from Dec 19th through Jan 7th. I won't be able to be reached by phone, but I will be checking email on a regular basis. If you need to speak to someone with urgency please contact James at 312.962.0550. Happy Holidays, Rodrigo Muller From rmuller at whackdesign.com Tue Dec 19 23:55:49 2006 From: rmuller at whackdesign.com (rmuller@whackdesign.com) Date: Tue Dec 19 23:55:56 2006 Subject: [Locomotive-users] WHACK mediia design - Rodrigo Muller Message-ID: <20061219235549.5699.qmail@www.whackdesign.com> I will be out of the country from Dec 19th through Jan 7th. I won't be able to be reached by phone, but I will be checking email on a regular basis. If you need to speak to someone with urgency please contact James at 312.962.0550. Happy Holidays, Rodrigo Muller From rmuller at whackdesign.com Tue Dec 19 23:56:29 2006 From: rmuller at whackdesign.com (rmuller@whackdesign.com) Date: Tue Dec 19 23:56:34 2006 Subject: [Locomotive-users] WHACK mediia design - Rodrigo Muller Message-ID: <20061219235629.5766.qmail@www.whackdesign.com> I will be out of the country from Dec 19th through Jan 7th. I won't be able to be reached by phone, but I will be checking email on a regular basis. If you need to speak to someone with urgency please contact James at 312.962.0550. Happy Holidays, Rodrigo Muller From rmuller at whackdesign.com Tue Dec 19 23:57:05 2006 From: rmuller at whackdesign.com (rmuller@whackdesign.com) Date: Tue Dec 19 23:57:10 2006 Subject: [Locomotive-users] WHACK mediia design - Rodrigo Muller Message-ID: <20061219235705.5887.qmail@www.whackdesign.com> I will be out of the country from Dec 19th through Jan 7th. I won't be able to be reached by phone, but I will be checking email on a regular basis. If you need to speak to someone with urgency please contact James at 312.962.0550. Happy Holidays, Rodrigo Muller From rmuller at whackdesign.com Tue Dec 19 23:57:42 2006 From: rmuller at whackdesign.com (rmuller@whackdesign.com) Date: Tue Dec 19 23:57:48 2006 Subject: [Locomotive-users] WHACK mediia design - Rodrigo Muller Message-ID: <20061219235742.5936.qmail@www.whackdesign.com> I will be out of the country from Dec 19th through Jan 7th. I won't be able to be reached by phone, but I will be checking email on a regular basis. If you need to speak to someone with urgency please contact James at 312.962.0550. Happy Holidays, Rodrigo Muller From rmuller at whackdesign.com Tue Dec 19 23:58:19 2006 From: rmuller at whackdesign.com (rmuller@whackdesign.com) Date: Tue Dec 19 23:58:25 2006 Subject: [Locomotive-users] WHACK mediia design - Rodrigo Muller Message-ID: <20061219235819.5970.qmail@www.whackdesign.com> I will be out of the country from Dec 19th through Jan 7th. I won't be able to be reached by phone, but I will be checking email on a regular basis. If you need to speak to someone with urgency please contact James at 312.962.0550. Happy Holidays, Rodrigo Muller From rmuller at whackdesign.com Tue Dec 19 23:58:59 2006 From: rmuller at whackdesign.com (rmuller@whackdesign.com) Date: Tue Dec 19 23:59:03 2006 Subject: [Locomotive-users] WHACK mediia design - Rodrigo Muller Message-ID: <20061219235859.6013.qmail@www.whackdesign.com> I will be out of the country from Dec 19th through Jan 7th. I won't be able to be reached by phone, but I will be checking email on a regular basis. If you need to speak to someone with urgency please contact James at 312.962.0550. Happy Holidays, Rodrigo Muller From rmuller at whackdesign.com Tue Dec 19 23:59:35 2006 From: rmuller at whackdesign.com (rmuller@whackdesign.com) Date: Tue Dec 19 23:59:39 2006 Subject: [Locomotive-users] WHACK mediia design - Rodrigo Muller Message-ID: <20061219235935.6051.qmail@www.whackdesign.com> I will be out of the country from Dec 19th through Jan 7th. I won't be able to be reached by phone, but I will be checking email on a regular basis. If you need to speak to someone with urgency please contact James at 312.962.0550. Happy Holidays, Rodrigo Muller From rmuller at whackdesign.com Wed Dec 20 00:00:11 2006 From: rmuller at whackdesign.com (rmuller@whackdesign.com) Date: Wed Dec 20 00:00:20 2006 Subject: [Locomotive-users] WHACK mediia design - Rodrigo Muller Message-ID: <20061220000011.6141.qmail@www.whackdesign.com> I will be out of the country from Dec 19th through Jan 7th. I won't be able to be reached by phone, but I will be checking email on a regular basis. If you need to speak to someone with urgency please contact James at 312.962.0550. Happy Holidays, Rodrigo Muller From rmuller at whackdesign.com Wed Dec 20 00:00:52 2006 From: rmuller at whackdesign.com (rmuller@whackdesign.com) Date: Wed Dec 20 00:00:55 2006 Subject: [Locomotive-users] WHACK mediia design - Rodrigo Muller Message-ID: <20061220000052.6320.qmail@www.whackdesign.com> I will be out of the country from Dec 19th through Jan 7th. I won't be able to be reached by phone, but I will be checking email on a regular basis. If you need to speak to someone with urgency please contact James at 312.962.0550. Happy Holidays, Rodrigo Muller From bre_ice at hotmail.com Wed Dec 20 00:22:51 2006 From: bre_ice at hotmail.com (Will Tsang) Date: Wed Dec 20 00:23:00 2006 Subject: [Locomotive-users] Locomotive hangs while creating new app In-Reply-To: Message-ID: Ok...I didn't drag the bundles to the application folder. It works now. Thanks. Will ----Original Message Follows---- From: Ryan Raaum Date: Dec 19, 2006 3:53 PM Subject: Re: [Locomotive-users] Locomotive hangs while creating new app To: willywonkawilson@gmail.com, locomotive-users@lists.raaum.org How did you install it? Where are the bundles? Best, -r On 12/19/06, Wilson Tsang wrote: > >Hi, > >I just installed Locomotive and when I try to create a new application it >just hangs. It displays the "This will take a few seconds..." message and >the wheel is still spinning but nothing happens. I've installed it and >reinstalled it several times and checked the System Console every time and > >it shows this error message: > >2006-12-19 12:14:11.577 Locomotive[1040] *** -[NSCFArray objectAtIndex:]: >index (-1) beyond bounds (0) > >Any ideas? Am I doing something wrong? I'm using a MacBook Pro & >Locomotive >2.0.8. > >Cheers, >Will > >_________________________________________________________________ >Download now! Visit http://www.telusmobility.com/msnxbox/ to enter and see > >how cool it is to get Messenger with you on your cell phone. >http://www.telusmobility.com/msnxbox/ > >_______________________________________________ >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 _________________________________________________________________ Not only does WindowsOff to school, going on a trip, or moving? Windows Live (MSN) Messenger lets you stay in touch with friends and family wherever you go. Click here to find out how to sign up! Live™ OneCare™ provide all-in-one PC care to keep your computer protected and well-maintained, but it also makes creating backup files a breeze. Try it today! http://www.telusmobility.com/msnxbox/ From rschenk at gmail.com Wed Dec 20 21:38:47 2006 From: rschenk at gmail.com (Ryan Schenk) Date: Wed Dec 20 21:38:54 2006 Subject: [Locomotive-users] Installing OS X Update Killed Locomotive? Message-ID: <1ef38bad0612201338q3d555907na2345b4ec3d978e5@mail.gmail.com> I have been happily using Locomotive for about 3 months or so. Unfortunately, today I installed a software update from Apple, and since I rebooted after that sw update, Locomotive will no longer open. When I attempt to open Locomotive, the icon simply bounces in the dock indefinitely. Unfortunately there are no error messages that I could find using Console.app (maybe I wasn't looking in the right place) My advice to all of you is Do Not install today's OS X (PPC) update. Does anyone else see this behavior? -Ryan System Version: Mac OS X 10.4.8 (8L127) Machine Name: PowerBook G4 15" Machine Model: PowerBook5,6 CPU Type: PowerPC G4 (1.2) Number Of CPUs: 1 CPU Speed: 1.67 GHz From grant at grantneufeld.ca Wed Dec 20 23:06:28 2006 From: grant at grantneufeld.ca (Grant Neufeld) Date: Wed Dec 20 23:07:08 2006 Subject: [Locomotive-users] Installing OS X Update Killed Locomotive? In-Reply-To: <1ef38bad0612201338q3d555907na2345b4ec3d978e5@mail.gmail.com> References: <1ef38bad0612201338q3d555907na2345b4ec3d978e5@mail.gmail.com> Message-ID: At 4:38 PM -0500 12/20/06, Ryan Schenk wrote: >Unfortunately, today I installed a software update from Apple, and >since I rebooted after that sw update, Locomotive will no longer >open. I assume you mean the Security Update 2006-008? On my iMac G5, Locomotive does seem to be taking longer to load (but that could just be a mislead impression as I've never really paid attention before since I tend to launch a bunch of apps at once). However, it does eventually get there. A reload (after running then quitting - so files are cached by the system) takes about 24 seconds for me now. From jerrod at indierockmedia.com Thu Dec 21 15:30:58 2006 From: jerrod at indierockmedia.com (Jerrod Blavos) Date: Thu Dec 21 15:31:15 2006 Subject: [Locomotive-users] custom Mongrel conf files. can we use them with locomotive Message-ID: <723D6AEB-465E-486D-B2C9-6D623994ECE3@indierockmedia.com> hey hey, since locomotive is running mongrel, im mondering if i can add my own custom configuration directives to the config file such as the mongrel upload progress. and if so, where? just being able to tag this onto the end of th elocomotive.yml file would cover it i imagine: :config_script: config/mongrel_upload_progress.conf i love the convenience of locomotive, and i know that comes with a certain amount of restriction. so. yeah i guess that's my question. Thanks! Jerrod Blavos ph. 919.341.0143 fx. 482.492.5009 jerrod@indierockmedia.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061221/14879b11/attachment.htm From cswilliams at gmail.com Fri Dec 22 09:49:09 2006 From: cswilliams at gmail.com (Chris Williams) Date: Fri Dec 22 09:49:15 2006 Subject: [Locomotive-users] SSL support? Message-ID: <64e9f5f10612220149s6dce15e9r86f36a7e5ae875fb@mail.gmail.com> Hi all, Is there any way yet to enable ssl support in locomotive? Finally wrapping up the loose ends in my store application and need to implement some filters for ssl. I'm really hoping I could still keep this all in locomotive.... If there's no way to use ssl yet, I was wondering how others deal with this. Did you just add a check in your ssl filter to not use it if its in the development environment? Also wanted to extend my appreciation for locomotive, I use it nearly everyday and it works great! -Chris From ryan.raaum at gmail.com Fri Dec 22 12:12:47 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Fri Dec 22 12:12:54 2006 Subject: [Locomotive-users] SSL support? In-Reply-To: <64e9f5f10612220149s6dce15e9r86f36a7e5ae875fb@mail.gmail.com> References: <64e9f5f10612220149s6dce15e9r86f36a7e5ae875fb@mail.gmail.com> Message-ID: Hi Chris, I think the way to go is to set up ssl on apache and proxy to Locomotive, but perhaps others have better alternatives... Best, -r On 12/22/06, Chris Williams wrote: > > Hi all, > Is there any way yet to enable ssl support in locomotive? Finally > wrapping up the loose ends in my store application and need to > implement some filters for ssl. I'm really hoping I could still keep > this all in locomotive.... > > If there's no way to use ssl yet, I was wondering how others deal with > this. Did you just add a check in your ssl filter to not use it if > its in the development environment? > > Also wanted to extend my appreciation for locomotive, I use it nearly > everyday and it works great! > -Chris > _______________________________________________ > 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/20061222/e602f84f/attachment.htm From ryan.raaum at gmail.com Fri Dec 22 12:16:10 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Fri Dec 22 12:16:18 2006 Subject: [Locomotive-users] custom Mongrel conf files. can we use them with locomotive In-Reply-To: <723D6AEB-465E-486D-B2C9-6D623994ECE3@indierockmedia.com> References: <723D6AEB-465E-486D-B2C9-6D623994ECE3@indierockmedia.com> Message-ID: On 12/21/06, Jerrod Blavos wrote: > > hey hey, since locomotive is running mongrel, im mondering if i can add my > own custom configuration directives to the config file such as the mongrel > upload progress. and if so, where? just being able to tag this onto the end > of th elocomotive.yml file would cover it i imagine: > :config_script: config/mongrel_upload_progress.conf > That's a good idea, but not possible out of the box. If you wanted to hack something for now, look at the {/path/to/Locomotive}/Bundles/{bundlename}/bin/launch ruby script. Check out the run_mongrel method. Best, -r i love the convenience of locomotive, and i know that comes with a certain > amount of restriction. so. yeah i guess that's my question. > > Thanks! > Jerrod Blavos > ph. 919.341.0143 > fx. 482.492.5009 > jerrod@indierockmedia.com > > > > > _______________________________________________ > 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/20061222/218fe778/attachment.htm From alexchan.1976 at gmail.com Fri Dec 22 18:17:24 2006 From: alexchan.1976 at gmail.com (Alex C) Date: Fri Dec 22 18:17:38 2006 Subject: [Locomotive-users] locomotive + rails 1.2 Message-ID: <8f494f760612221017x22f2f3c7ke72ccd1d4d3c4223@mail.gmail.com> Hello, Will there be a bundle for rails 1.2 for locomotive? or is there another way to go to rails 1.2 from the sept. 2006 bundle? alex From jerrod at indierockmedia.com Fri Dec 22 18:54:18 2006 From: jerrod at indierockmedia.com (Jerrod Blavos) Date: Fri Dec 22 18:54:32 2006 Subject: [Locomotive-users] locomotive + rails 1.2 In-Reply-To: <8f494f760612221017x22f2f3c7ke72ccd1d4d3c4223@mail.gmail.com> References: <8f494f760612221017x22f2f3c7ke72ccd1d4d3c4223@mail.gmail.com> Message-ID: <92180283-AC82-45AF-BF9D-544503676AA7@indierockmedia.com> you can check out a copy of the rails 1.2 RC1 into the vendor directory of your app. having it there overrides the gem. Jerrod Blavos ph. 919.341.0143 fx. 482.492.5009 jerrod@indierockmedia.com On Dec 22, 2006, at 1:17 PM, Alex C wrote: > Hello, > Will there be a bundle for rails 1.2 for locomotive? or is there > another way to go to rails 1.2 from the sept. 2006 bundle? > > alex > _______________________________________________ > 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/20061222/ab6b794e/attachment.htm From alexchan.1976 at gmail.com Fri Dec 22 19:03:03 2006 From: alexchan.1976 at gmail.com (Alex C) Date: Fri Dec 22 19:03:13 2006 Subject: [Locomotive-users] locomotive + rails 1.2 In-Reply-To: <92180283-AC82-45AF-BF9D-544503676AA7@indierockmedia.com> References: <8f494f760612221017x22f2f3c7ke72ccd1d4d3c4223@mail.gmail.com> <92180283-AC82-45AF-BF9D-544503676AA7@indierockmedia.com> Message-ID: <8f494f760612221103nb84b39csd87c6d060c2c6def@mail.gmail.com> hello everybody, On 12/22/06, Jerrod Blavos wrote: > you can check out a copy of the rails 1.2 RC1 into the vendor directory of > your app. having it there overrides the gem. > thanks for the help Jerrod. how do i do that? where can i see the instructions online. I am asking b/c i am learning rails via new 2nd edition of the Agile Web Development Book. author says that all the code is based on rails 1.2. thanks again, alex From jerrod at indierockmedia.com Fri Dec 22 19:23:00 2006 From: jerrod at indierockmedia.com (Jerrod Blavos) Date: Fri Dec 22 19:23:10 2006 Subject: [Locomotive-users] locomotive + rails 1.2 In-Reply-To: <8f494f760612221103nb84b39csd87c6d060c2c6def@mail.gmail.com> References: <8f494f760612221017x22f2f3c7ke72ccd1d4d3c4223@mail.gmail.com> <92180283-AC82-45AF-BF9D-544503676AA7@indierockmedia.com> <8f494f760612221103nb84b39csd87c6d060c2c6def@mail.gmail.com> Message-ID: <3AAB885B-0F04-4DF5-BA11-E73A9943B8CD@indierockmedia.com> well, there are 2 ways, installing an updated gem or checking out (using subversion) here's a link http://blog.hasmanythrough.com/articles/2006/11/23/rails-1-2-rc1-and- test-cases Jerrod Blavos ph. 919.341.0143 fx. 482.492.5009 jerrod@indierockmedia.com On Dec 22, 2006, at 2:03 PM, Alex C wrote: > hello everybody, > > On 12/22/06, Jerrod Blavos wrote: >> you can check out a copy of the rails 1.2 RC1 into the vendor >> directory of >> your app. having it there overrides the gem. >> > > thanks for the help Jerrod. how do i do that? where can i see the > instructions online. I am asking b/c i am learning rails via new 2nd > edition of the Agile Web Development Book. author says that all the > code is based on rails 1.2. > > thanks again, > alex > _______________________________________________ > 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/20061222/14d77afb/attachment-0001.htm From tomislav at filipcic.com Fri Dec 22 21:08:37 2006 From: tomislav at filipcic.com (=?UTF-8?B?VG9taXNsYXYgRmlsaXDEjWnEhw==?=) Date: Fri Dec 22 21:10:25 2006 Subject: [Locomotive-users] Re: locomotive + rails 1.2 In-Reply-To: <8f494f760612221017x22f2f3c7ke72ccd1d4d3c4223@mail.gmail.com> References: <8f494f760612221017x22f2f3c7ke72ccd1d4d3c4223@mail.gmail.com> Message-ID: Alex C wrote: > Hello, > Will there be a bundle for rails 1.2 for locomotive? or is there > another way to go to rails 1.2 from the sept. 2006 bundle? Update the rails gem and then in your config/enviroment.rb set RAILS_GEM_VERSION = '1.1.6.5618' From jaywcraig at mac.com Fri Dec 29 22:59:47 2006 From: jaywcraig at mac.com (Jay Craig) Date: Fri Dec 29 22:59:53 2006 Subject: [Locomotive-users] Re: locomotive + rails 1.2 Message-ID: <48BABA8E-B38F-4E3C-8510-D5F052D739B6@mac.com> Dave Thomas has posted a zip file containing a snapshot of rails 1.2 at: http://media.pragprog.com/titles/rails2/code/rails.zip Instructions are to unzip in your app's vendor directory, then in app's top-level directory, run rake rails:update Is this all it takes to get the app to run 1.2? From ryan.raaum at gmail.com Sun Dec 31 03:07:23 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sun Dec 31 03:07:46 2006 Subject: [Locomotive-users] Re: locomotive + rails 1.2 In-Reply-To: <48BABA8E-B38F-4E3C-8510-D5F052D739B6@mac.com> References: <48BABA8E-B38F-4E3C-8510-D5F052D739B6@mac.com> Message-ID: On 12/29/06, Jay Craig wrote: > Dave Thomas has posted a zip file containing a snapshot of rails 1.2 at: > http://media.pragprog.com/titles/rails2/code/rails.zip > Instructions are to unzip in your app's vendor directory, then in > app's top-level directory, run > rake rails:update > Is this all it takes to get the app to run 1.2? Should work. -r > _______________________________________________ > Locomotive-users mailing list > Locomotive-users@lists.raaum.org > http://lists.raaum.org/mailman/listinfo/locomotive-users > -- Ryan Raaum http://raaum.org http://rails.raaum.org -- Rails docs http://locomotive.raaum.org -- Self contained Rails for Mac OS X From marston at sugarstats.com Sun Dec 31 08:25:19 2006 From: marston at sugarstats.com (Marston Alfred) Date: Sun Dec 31 08:25:23 2006 Subject: [Locomotive-users] How to use custom gems with locomotive? Message-ID: <4e83715e0612310025ycc5cc7fh213d2109965f9dd0@mail.gmail.com> I'm setting up my new 24" iMac workstation and thought I'd give locomotive another try instead of spending half the day compiling crap ( I used to use it a while back ). Though my app uses a few non-standard gems such as tzinfo and auth_generator. Is there a way I can either install these apps with locomotive or set locomotive to use a separate rubygems install? Because now my app won't start within locomotive due to some missing gems. Thanks. -- SugarStats Easy Online Blood Sugar Management for Diabetics http://www.sugarstats.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061231/99128579/attachment.htm From ryan.raaum at gmail.com Sun Dec 31 12:29:25 2006 From: ryan.raaum at gmail.com (Ryan Raaum) Date: Sun Dec 31 12:29:29 2006 Subject: [Locomotive-users] How to use custom gems with locomotive? In-Reply-To: <4e83715e0612310025ycc5cc7fh213d2109965f9dd0@mail.gmail.com> References: <4e83715e0612310025ycc5cc7fh213d2109965f9dd0@mail.gmail.com> Message-ID: On 12/31/06, Marston Alfred wrote: > > I'm setting up my new 24" iMac workstation and thought I'd give locomotive > another try instead of spending half the day compiling crap ( I used to use > it a while back ). Though my app uses a few non-standard gems such as > tzinfo and auth_generator. Is there a way I can either install these apps > with locomotive or set locomotive to use a separate rubygems install? > Because now my app won't start within locomotive due to some missing gems. > Thanks. Open a terminal from Locomotive for your app and sudo gem install tzinfo auth_generator Best, -r (if either of those require any compiling, you'll need to have the dev tools installed...) -- > SugarStats > Easy Online Blood Sugar Management for Diabetics > http://www.sugarstats.com/ > _______________________________________________ > 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/20061231/a821b038/attachment.htm
<%= column.human_name %>