Running:
bundle exec rake assets:precompile RAILS_ENV=production --trace
** Execute assets:precompile:primary
rake aborted!
TypeError: Object doesn't support this property or method
(in C:/Sites/MyApp/app/assets/javascripts/application.js)
Here is the entire content of application.js
:
//= require jquery
//= require jquery_ujs
//= require_tree .
nothing else there.
I tried to remove the three //= require
lines from application.js
, the precompilation then runs with no problems.
application.js
file have you shown us the source of? Where is it located? – Kinser