I think I''m relativly close to getting rails up on my domain but I get this application error if I try to run the page. Application error Rails application failed to start properly" At first it was a disptath.cgi error I fixed that by changing the attibutes, but now I get this, why may it be happening? Ryan. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Check the shebang line in the dispatch.cgi (.fcgi) and make sure it points to the correct location. A common location is #!/usr/local/bin/ruby This will give you the "failed to start.." error. If you''re running linux can do "which ruby" on the command line to get the location. good luck, andy -- Andrew Stone --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
In my experience, it''s a problem with the dispatch file. Does it have the correct permissions to execute, and does it point to the proper location on the first line #!/bin/ruby or wherever your distro stores it? Also, I''ve had problems with log files not having permissions so the app can write them. Ryan Edwards-Crewe wrote:> I think I''m relativly close to getting rails up on my domain but I get > this application error if I try to run the page. > > Application error > Rails application failed to start properly" > > At first it was a disptath.cgi error I fixed that by changing the > attibutes, but now I get this, why may it be happening? > > Ryan. > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> > it? Also, I''ve had problems with log files not having permissions so the > app can write them. >Good point there...forgot about that one. It has bitten me a few times. -- Andrew Stone --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
This can be many things. Database connectivity, configuration errors, etc. Check your logs for any indication of what''s going on. c. Ryan Edwards-Crewe wrote:> I think I''m relativly close to getting rails up on my domain but I get > this application error if I try to run the page. > > Application error > Rails application failed to start properly" > > At first it was a disptath.cgi error I fixed that by changing the > attibutes, but now I get this, why may it be happening? > > Ryan.-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
also try running dispatch.(f)cgi from the command prompt .. As Cayce wrote, you need more symptoms to debug this problem. J On 3-Nov-06, at 1:55 PM, Cayce Balara wrote:> > This can be many things. Database connectivity, configuration errors, > etc. Check your logs for any indication of what''s going on. > > c. > > > Ryan Edwards-Crewe wrote: >> I think I''m relativly close to getting rails up on my domain but I >> get >> this application error if I try to run the page. >> >> Application error >> Rails application failed to start properly" >> >> At first it was a disptath.cgi error I fixed that by changing the >> attibutes, but now I get this, why may it be happening? >> >> Ryan. > > > -- > Posted via http://www.ruby-forum.com/. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
When this happened to me, it took me over an hour to realize it was that the public folder didn''t have the right permissions. Quote from my web host''s help wiki: "8. cd into your railsapp directory and do chmod -R u+rwX,go-w public log to set the correct permissions. The public directory and dispatch.fcgi must not be world-writable (or group-writable, just in case), and the log directory must be writable so that log and crash files can be generated." My web host is dreamhost, but even with other hosts you may find their installation guide helpful for installing ruby apps. It''s available at http://wiki.dreamhost.com/index.php/Ruby_on_Rails#QuickStart_Guide_12-01-05 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---