I was getting this message
"We're sorry, but something went wrong. message"
Not a lot of help, and I was uanble to find much in the logs and user manuals either.
Solution:
1) By default, mod_rails runs your app in production mode. When you're running rails through script/server it is in development mode.
2) You can either run rake db:migrate RAILS_ENV="production" which will build the production database from the values in database.yml
3) Or if you want to keep on using the dev database add this line to your apache virtual host
RailsEnv development
No comments:
Post a Comment