0

I've followed all the advice I could find on this issue, and yet when I run my app on the server I get a Error 500: We're sorry... error.

The production.log file tells me that this line is the offender:

<%= javascript_include_tag "application" %>

My application.js file looks like this:

//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require jquery.turbolinks
//= require fancybox
//= require bootstrap
//= require bootstrap-wysihtml5
//= require_tree .

(And removing that last line didn't help.) Since it's asset-related, the relevant parts of my production.rb file are:

config.serve_static_assets = true
config.assets.compress = false
config.assets.compile = true
config.assets.digest = true

Any help will help.

4

1 に答える 1

0

これが誰かに役立つかどうかはわかりませんが、gemfile に次の行が必要でした:

group :assets do
  gem 'coffee-rails'
end
于 2013-01-11T02:55:36.553 に答える