JavaScript无法在生产中使用Rails应用程序

时间:2013-04-03 04:25:02

标签: ruby-on-rails-3 asset-pipeline

我刚刚通过git将我的Rails应用程序移动到生产服务器,但我的JavaScript都没有运行。我没有跑rake assets:precompile。我的Rails生产日志和我的nginx日志显示没有错误。在公共/资产内部,我看到application-###.js。有没有人有任何想法或我能看到的其他地方?

我的production.rb日志如下:

Connecting to database specified by database.yml
Started GET "/" for 99.179.144.13 at 2013-04-03 04:13:42 +0000
Processing by StaticPagesController#index as HTML
  Rendered static_pages/index.html.erb within layouts/application (3.5ms)
  Rendered layouts/_menu.html.erb (2.6ms)
  Rendered layouts/_sidebar_left.html.erb (9.5ms)
  Rendered layouts/_sidebar_right.html.erb (3.6ms)
Completed 200 OK in 118ms (Views: 105.3ms | ActiveRecord: 12.4ms)

0 个答案:

没有答案