New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LoadError: cannot load such file -- coffee_script #1544
Comments
Did you remove "coffee-rails" from your Gemfile? It's standard with Rails 3.2 |
I had the same problem and adding coffee-rails to our assets group and it worked. |
Duplicates #1259 |
FYI if you're having this issue, it may be the cache. Try this: |
@fabioanselmo this fixed my issue. Could you explain why this is necessary? |
@fabioanselmo Not worked for me |
try adding "gem 'coffee-rails', '~> 4.1.0'" to the Gemfile and running bundle:install. It worked for me. |
just remove coffee script its useless |
Since this is the top hit, adding this in for others. The cache clearing did not work. But I did find I had created a scaffold prior to disabling coffee-script from the Gemfile so if you did that, go find .coffee's in your js assets folder and remove them. Things are working again. |
@ephekt 3 hours ago, huh? How fortunate for me. Thank you! |
Assassinsurvivor is right... just remove it and it's corresponding scripts on your erb files. |
I had removed CoffeeScript Gem + all .coffee and associated files. What worked for me is "rake tmp:cache:clear". |
Causing `rake assets:precompile` to fail, which heroku runs pre-deploy. activeadmin/activeadmin#1544 (Note the Tom and Jerry comment in that thread for a laugh)
just actvate the coffee_script from the gemfile, I mean, remove the # |
Use Rails 3.2.6 and latest ActiveAdmin from git
Should coffeescript be in gem dependences?
The text was updated successfully, but these errors were encountered: