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
What Are These Numbers in Goto Anything of Sublime Text 2
How to Restart Rails from Within Rails
How to Bundle Install Gemfile with Specific Version of Bundler
How to Remove All Characters in a String Until a Substring Is Matched, in Ruby
Converting Time in Utc to Pacific Time
Simulating Race Conditions in Rspec Unit Tests
Error While Installing Ruby 1.9.3
Ruby JSON.Pretty_Generate ... Is Pretty Unpretty
Dynamically Get Object's Attribute
Download File from S3 to Rails 4 App
Best Way to Remove File Extension
Does Cucumber Do Away with The Need to Write Unit Tests
Ruby Inserting Key, Value Elements in Hash
Which Http Web Server How to Use to Debug Ruby Code Using Rubymine 3.0.1