Ruby on Rails Monday, March 16, 2015

You, sir, are a giant among men.  

I assumed the message about running in production was a standard message whenever running in that environment. Commenting out "require 'rails/test_help'" in environment.rb did the trick.

Thanks!

Mark

On Monday, March 16, 2015 at 12:56:35 PM UTC-4, Frederick Cheung wrote:


On Monday, March 16, 2015 at 4:47:12 PM UTC, Mark Sandford wrote:
I'm having an issue getting my app to start up in production.  After spending a lot of time trying to troubleshoot differences between production and development servers, I set up a clean Ubuntu 14.04 server on EC2.  Everything runs fine in the development environment, but as soon as I try to do anything in the production environment, it fails immediately with no errors and no logs (that I can find).  See below for what I'm getting on the command line when trying to start the server or create the database.

Looks like someone was very paranoid about running in production mode - I'd search the code base for instances of that warning message. It seems that by default this is included in test_help.rb (generated as part of a rails app), so it's possible that's been required somehow.

Fred

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d4cd45ad-d41d-47c1-aa39-083d214c48c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment