0

I want to test sample rails application on shared Dreamhost account, so i have created sample application with ruby 1.8.7, rails 3.2.8 and mysql database. on localhost it works fine, but after uploading it on Dreamhost its giving error when i clicks on "About your application’s environment" like given below.

here is the detail error from production.log file

Started GET "/rails/info/properties" for 180.87.200.112 at Sat Oct 06 01:38:01 -0700 2012

ActionController::RoutingError (No route matches [GET] "/rails/info/properties"):

Started GET "/assets/rails.png" for 180.87.200.112 at Sat Oct 06 01:37:50 -0700 2012

ActionController::RoutingError (No route matches [GET] "/assets/rails.png"):

4

1 回答 1

0

请确保在您的生产文件中遵循以下内容。

config.assets.compile = true
config.consider_all_requests_local = false
config.action_controller.perform_caching = true
config.serve_static_assets = true
于 2012-10-06T10:03:34.640 回答