I am using rails admin. My application is working perfectly in local but when its throwing the above error while configuring in live
config/initializers/assets.rb
Rails.application.config.assets.precompile += %w(*.css *.js ckeditor/*)
But when I precompile my assets, nothing is compiled.
Possible Solution
install yarn
install webpacker by running
RAILS_ENV=production bundle exec rails webpacker:install
production.rb
config.assets.compile = true
Now precompile your assets
RAILS_ENV=production bundle exec rails assets:precompile