Ok, so I''ve accomplished the following in the last few days: 1. Moved all my local web dev from IIS to Apache on my Windows laptop (working on moving back to OSX/Mac next) 2. Worked through all the beginning Rails tutorials (Todo, Cookbook) I could find. 3. Purchased Agile Web Dev on Rails Beta book and have worked through to page 84 so far. 4. Ruby, Rails, MySQL and my Rails app is running fine locally on Apache2. So now, I''m completely frustrated trying to (a) get a Rails app running on a public server (b) more specifically, on one of my TextDrive sites. QUESTIONS: What is a good workflow/plan to develop locally and then migrate to a public server (commercially hosted)? Any tips on getting the Depot example app up and running on textdrive? I''ve been through all the textdrive forums, docs, rubyonrails.org docs, wiki, etc. and I keep hitting roadblocks (the current error message is: "Application error Rails application failed to start properly") Thanks in advance for any help. Robert ___________________________________________________________ C3 Media Group / Robert Pierce Communication Resources for Charities and Charitable Planning 333 N. Indian Hill Blvd. / Claremont, CA 91711 / 909-445-9549 www.c3mediagroup.com
On 2.6.2005, at 06:55, Robert Pierce wrote:> > QUESTIONS: > > What is a good workflow/plan to develop locally and then migrate to a > public server (commercially hosted)?Setup a svn repository on your TxD account (using Webmin). Make both your local and your production code checkouts of this repository. Then setup lighttpd (this manual tells pretty much all that is needed for it: http://manuals.textdrive.com/read/book/9).> > Any tips on getting the Depot example app up and running on textdrive? > I''ve been through all the textdrive forums, docs, rubyonrails.org > docs, wiki, etc. and I keep hitting roadblocks (the current error > message is: "Application error > Rails application failed to start properly")What web server are you using? What is the actual error message? Have you checked all the error logs (apache/lighttpd/webrick, Rails dev/prod)? You can also try to start the dispatcher from command line ("ruby public/dispatcher.fcgi") and see if it gives any more meaningful errors. //jarkko> > Thanks in advance for any help. > > Robert > ___________________________________________________________ > C3 Media Group / Robert Pierce > Communication Resources for Charities and Charitable Planning > 333 N. Indian Hill Blvd. / Claremont, CA 91711 / 909-445-9549 > www.c3mediagroup.com > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Jarkko Laine http://jlaine.net http://odesign.fi _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
> Any tips on getting the Depot example app up and running on textdrive? > I''ve been through all the textdrive forums, docs, rubyonrails.org docs, > wiki, etc. and I keep hitting roadblocks (the current error message is: > "Application error > Rails application failed to start properly")The thing that caught me out when first moving my app to textdrive was that the path in dispatch.cgi pointed to where ruby was on my computer not on textdrive''s. See http://wiki.rubyonrails.com/rails/show/GettingStartedWithRails "4. Using the proper path for Ruby (the she-bang line!)" for a couple of scripts to change the paths. Hadley http://had.co.nz