我是一个Rails新手。
在推送到Heroku时,我遇到了一个问题(NoMethodError: undefined method `[]' for nil:NilClass)。我甚至不知道应该从哪里开始查找和纠正这个问题。
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: I, [2015-10-04T23:27:47.570225 #397] INFO -- : Writing /tmp/build_1a2df3ea1a8121d7fba6ab542c59ba85/public/assets/application-7fbbda11565ec9a0d53aaeb338357988655d4d81476f99312f8a66772c63bea9.js
remote: rake aborted!
remote: NoMethodError: undefined method `[]' for nil:NilClass
remote: /tmp/build_1a2df3ea1a8121d7fba6ab542c59ba85/vendor/bundle/ruby/2.2.0/gems/sprockets-3.3.5/lib/sprockets/sass_processor.rb:266:in `sprockets_context'
remote: