I\'m getting that error on my production server, and can\'t figure out why. It happens when running this command:
bundle exec rake assets:precompile RAILS_EN
I think that it might be because you aren't requiring the asset gems in production. By default rails expects that you are pre-compiling your assets in production. Change this in config/application.rb:
Comment out this line:
Bundler.require *Rails.groups(:assets => %w(development test))
And uncomment this line:
Bundler.require(:default, :assets, Rails.env)