Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Precompiled assets cause ruby to crash on development mode #3839
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Hello, I've been able to produce this error as well, when trying to use the Sprockets helpers in assets. Here's a way to reproduce with a brand new Rails app:
You can see the output here: https://gist.github.com/2048741
As @jpon91 states, the issue goes away when you specify the debug mode, because the helper doesn't go looking for the params that aren't there (as no controllers are loaded with the rake task)
I haven't dug into it much more deeply than that, but I'll try and sort it out and submit a fix/pull request.