Rails App Moved to Production Server Gives "Dump Format Error for Symbol" Error

Cannot deploy with Passenger

I have very little information about your problem but I have and idea what is going on. Check your belongs_to association in your event model if there is a class parameter replace it with class_name.

Rails app + caching and environment modes

Without seeing how you set the environment, this is the best advice I can give you.

<VirtualHost *>
ServerName example.com
DocumentRoot /home/yourname/htdocs/example.com/public
RailsEnv development
//Plus whatever else you might have in your standard Virtual Host
</VirtualHost>

After you edit this file you must restart Apache.

Special Steps for Rails Deployment?

With our deployment servers we have a fairly easy setup

  • ubuntu
  • apache + passenger
  • a rails user from where the apps are
    actually run "/home/rails/apps/fancy_app_name"
  • and we have a webistrano app running to handle the deployments (so our development
    machines don't have to be aware of all production steps)


Related Topics



Leave a reply



Submit