My app works fine in development on my laptop but in production on my
server I get "We're sorry, but something went wrong. We've been notified
about this issue and we'll take a look at it shortly."
I am using Rails 3, Ruby 1.8.7, Apache and passenger 2.2.15
I get the welcome aboard page in production if I just go to the domain
name but as soon as I want data I get the above error. There are no
messages in any logs for apache or rails. In production.rb I have
config.log_level = :debug
cap deploy:migrate works fine with this code in deploy.rb
namespace :deploy do
task :restart do
run "touch #{current_path}/tmp/restart.txt"
end
task :seed do
run "cd #{current_path}; rake db:seed RAILS_ENV=production"
end
end
How can I test that my app is running in the production environment on
my server?
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.