Forum: Rails Engines UserEngine "puts" warning mess up Apache/FastCGI?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Casper F. (Guest)
on 2006-05-15 20:43
(Received via mailing list)
Hi,



My rails app (hosted on Dreamhost) often gives the dreaded "Rails
Application Failed to Start Properly" error when it has been left alone
for
a while. I have a suspicion that this could be due to the fact that I'm
running the Apache/FastCGI-solution, which, according to
http://wiki.rubyonrails.com/rails/pages/Gotcha doesn't like "puts"
statements at all.



I tend to get warnings such as "Skipping integrity check. You have no
system
roles set up; once your database tables are set up, run rake bootstrap
to
create the basic roles." even when everything works as it should, and I
am
wondering if user_engine.rb could be modified to only output these
warnings
in development mode, or if a configuration option could be added to omit
all
puts-statements?



Thanks,

Casper F.


  _____

Jeg beskyttes af den gratis SPAMfighter til privatbrugere.
Den har indtil videre sparet mig for at fa 1089 spam-mails
Betalende brugere far ikke denne besked i deres e-mails.
Hent en gratis SPAMfighter her <http://www.spamfighter.com/go.asp?t=248>
.
James A. (Guest)
on 2006-05-15 20:46
(Received via mailing list)
Please create a ticket on http://dev.rails-engines.org/ about this -
you're probably right. However, you should probably run the bootstrap
task if you haven't.

- james
This topic is locked and can not be replied to.