When precompiling assets, --trace is swallowed unless RAILS_GROUPS is set #2126

Closed
cgriego opened this Issue Jul 17, 2011 · 5 comments

Comments

Projects
None yet
3 participants
Contributor

cgriego commented Jul 17, 2011

$ bundle exec rake assets:precompile --trace

That will swallow errors unless the RAILS_GROUPS environment variable is set. Somewhere between the shell and the task, the --trace option is lost so that it isn't passed to Kernel.exec, making it difficult for people to debug issues with precompiling assets.

@ghost ghost assigned tenderlove Jul 21, 2011

@spastorino spastorino reopened this Aug 16, 2011

Owner

spastorino commented Aug 16, 2011

This is an issue again since the fix of @tenderlove was reverted

Owner

spastorino commented Aug 16, 2011

Even more, now is swallowed unless RAILS_GROUPS and RAILS_ENV are set

Owner

tenderlove commented Aug 16, 2011

:'(

Bro, why did we revert my change rather than fix the real issue?

Owner

spastorino commented Aug 17, 2011

For the record, we should go with a solution like the one @tenderlove provided but it's too late for 3.1

Contributor

cgriego commented Oct 9, 2011

Looks like this was resolved in 3.1.1. Thanks all.

@cgriego cgriego closed this Oct 9, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment