I'm going to remove active_admin from my angular rails app. So I ran the following commands.
rails destroy active_admin:install
rails destroy active_admin:resource product
And I met this error.
cannot load such file -- coffee_script
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application' %>
Try
rake tmp:cache:clear
or
try adding "gem 'coffee-rails', '~> 4.1.0'"
to the Gemfile and running bundle:install
.
in rails > 5.2
we need to use rake rails tmp:cache:clear