jQuery を Heroku で動作させるには、それを作成する必要があります。
ここに私のコンソールがあります:
$ rake assets:precompile
c:/Ruby192/bin/ruby.exe c:/Ruby192/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
Access denied for user 'root'@'localhost' (using password: NO)
Tasks: TOP => environment
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [c:/Ruby192/bin/ruby.exe c:/Ruby192/bin/rak...]
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
私が実行しようとすると:
$ assets:precompile
sh: assets:precompile: command not found
編集: また、この行を application.rb に追加しました:
config.assets.initialize_on_precompile = false