-
Notifications
You must be signed in to change notification settings - Fork 64
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
coffee handler problems in production (Heroku) #14
Comments
You have to have a js runtime, install assets group and you need bundler to require it in production in order to use this feature. |
Update README to document issue in #14
@JeanMertz Thank you for posting this!! I had no idea what was happening since everything was working perfectly in development. Took me a while to hunt it down. Also, while @guilleiguaran's update to the readme is definitely a step in the right direction I think it might be beneficial to say something more obvious. Would you guys be ok with something like "You will get 500's unless you..." Thoughts? |
I just ran into a problem where my
create.js.coffee
file was working indevelopment
but stopped working inproduction
(on Heroku). The logs show that Rails isn't even looking for a coffee handler:This is the (important) part of my Gemfile:
Only after I moved
coffee-rails
outside of the:assets
group, things started working. Perhaps it would be a good idea to somehow make this clear in the readme, and perhaps even ship Rails with thecoffee-rails
plugin being placed outside theassets
group.The text was updated successfully, but these errors were encountered: