ActionController::RoutingError (No route matches [GET] "/javascripts/application

ActionController::RoutingError (No route matches [GET] "/javascripts/application.js")

的解决方法

RAILS_ENV=production bundle exec rake assets:precompile

 production.rb中添加

config.serve_static_assets = true

 

你可能感兴趣的:(application)