Hendy Irawan
2005-Apr-02 15:03 UTC
"Rails application failed to start properly" <-- is there a way to debug this?
Here were my steps: 1. Set up ruby.gauldong.net 2. cvs co ruby <-- checked out the latest bleeding CVS ruby 1.9 3. autoconf 4. ./configure --prefix=$HOME/local 5. make 6. make install 7. downloaded RubyGems 8. ruby setup.rb all --prefix=$HOME/local 9. gem install rails 10. rails rails 11. ln -s absolute/path/to/newly/created/rails/public web <-- specific to this webhosting 12. http://ruby.gauldong.net Results: Application error Rails application failed to start properly" :-( Is there a way (a checklist) to check what has gone wrong...? -- Hendy Irawan - http://dev.gauldong.net - GaulDong Developer Center
Pat Maddox
2005-Apr-02 16:29 UTC
Re: "Rails application failed to start properly" <-- is there a way to debug this?
Try running your app under Webrick and see what error message you get in the console, it will be more informative. I was having this same problem last week, and I think it was because of some session files. Do a rm /tmp/ruby_sess.* to clear them out, it might help you. I''m not sure that''s it, but I think that was what was causing that error for me. On Apr 2, 2005 8:03 AM, Hendy Irawan <gauldong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Here were my steps: > 1. Set up ruby.gauldong.net > 2. cvs co ruby <-- checked out the latest bleeding CVS ruby 1.9 > 3. autoconf > 4. ./configure --prefix=$HOME/local > 5. make > 6. make install > 7. downloaded RubyGems > 8. ruby setup.rb all --prefix=$HOME/local > 9. gem install rails > 10. rails rails > 11. ln -s absolute/path/to/newly/created/rails/public web <-- specific > to this webhosting > 12. http://ruby.gauldong.net > > Results: > > Application error > Rails application failed to start properly" > > :-( > > Is there a way (a checklist) to check what has gone wrong...? > > -- > Hendy Irawan - http://dev.gauldong.net - GaulDong Developer Center > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Dick Davies
2005-Apr-02 17:37 UTC
Re: "Rails application failed to start properly" <-- is there a way to debug this?
* Hendy Irawan <gauldong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [0403 16:03]:> Here were my steps: > 1. Set up ruby.gauldong.net > 2. cvs co ruby <-- checked out the latest bleeding CVS ruby 1.9 > 3. autoconf > 4. ./configure --prefix=$HOME/local > 5. make > 6. make install > 7. downloaded RubyGems > 8. ruby setup.rb all --prefix=$HOME/local > 9. gem install rails > 10. rails rails > 11. ln -s absolute/path/to/newly/created/rails/public web <-- specific > to this webhosting > 12. http://ruby.gauldong.net > > Results: > > Application error > Rails application failed to start properly" > > :-( > > Is there a way (a checklist) to check what has gone wrong...?Logs? Also I''m not sure if rails works with cvs ruby - it didn''t when I tried it a while ago (at least 6 months). -- ''When you have to kill a man it costs nothing to be polite.'' -- Winston Churchill, On formal declarations of war Rasputin :: Jack of All Trades - Master of Nuns
Hendy Irawan
2005-Apr-03 12:34 UTC
Re: "Rails application failed to start properly" <-- is there a way to debug this?
> Logs? > Also I''m not sure if rails works with cvs ruby - it didn''t when I > tried it a while ago (at least 6 months).Yes... I also thought this is the problem. I''m using CVS so it''ll be easy for me to upgrade Ruby by just cvs update-ing, then rebuilding ruby etc. since there''s no such thing as "gem install ruby" ;-) Anyways, does anybody know what is the naming convention for Ruby''s CVS to get a specific Ruby revision (-r) ? I''m not very familiar with CVS, I also don''t know if there''s a way to "list CVS revision tags"... But I guess it''s there somewhere. The Ruby''s CVS repository guide doesn''t mention anything about checking out a specific Ruby revision... -- Hendy Irawan - http://dev.gauldong.net - GaulDong Developer Center
Hendy Irawan
2005-Apr-03 14:55 UTC
Re: "Rails application failed to start properly" <-- is there a way to debug this?
On Apr 3, 2005 8:47 PM, Gavin Sinclair <gsinclair-81uBx+iSpXA0n/F98K4Iww@public.gmane.org> wrote:> On Sunday, April 3, 2005, 10:34:50 PM, Hendy wrote: > > > Anyways, does anybody know what is the naming convention for Ruby''s > > CVS to get a specific Ruby revision (-r) ? I''m not very familiar with > > CVS, I also don''t know if there''s a way to "list CVS revision tags"... > > But I guess it''s there somewhere. The Ruby''s CVS repository guide > > doesn''t mention anything about checking out a specific Ruby > > revision... > > Try > > cvs log (any file) | less > > Look at the tag names in the top part of the log.Huh? Thanks! ;-) It''s kinda'' amusing I didn''t think of that.... but..., is it really the only way of listing CVS revision tags? ;-) Perhaps wrong mailing list...... :-P -- Hendy Irawan - http://dev.gauldong.net - GaulDong Developer Center
Tobias Luetke
2005-Apr-03 16:07 UTC
Re: "Rails application failed to start properly" <-- is there a way to debug this?
Rails doesn''t work on CVS trunk ruby. Not much does actually, trunk is in a lot of flux lately. I''d go for 1.8.2 release tar.gz On Apr 3, 2005 10:55 AM, Hendy Irawan <gauldong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Apr 3, 2005 8:47 PM, Gavin Sinclair <gsinclair-81uBx+iSpXA0n/F98K4Iww@public.gmane.org> wrote: > > On Sunday, April 3, 2005, 10:34:50 PM, Hendy wrote: > > > > > Anyways, does anybody know what is the naming convention for Ruby''s > > > CVS to get a specific Ruby revision (-r) ? I''m not very familiar with > > > CVS, I also don''t know if there''s a way to "list CVS revision tags"... > > > But I guess it''s there somewhere. The Ruby''s CVS repository guide > > > doesn''t mention anything about checking out a specific Ruby > > > revision... > > > > Try > > > > cvs log (any file) | less > > > > Look at the tag names in the top part of the log. > > Huh? Thanks! ;-) It''s kinda'' amusing I didn''t think of that.... > but..., is it really the only way of listing CVS revision tags? ;-) > > Perhaps wrong mailing list...... :-P > -- > Hendy Irawan - http://dev.gauldong.net - GaulDong Developer Center > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Tobi http://www.snowdevil.ca - Snowboards that don''t suck http://www.hieraki.org - Open source book authoring http://blog.leetsoft.com - Technical weblog