Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[Patch] rake assets:compile errors when asset pipelining disabled

#6707

Currently in master, running rake assets:compile with config.assets.enabled = false results in

undefined method `precompile' for nil:NilClass

This patch raises an error if asset pipelining is disabled.

I chose to raise, as i think if this task was part of a deploy process (and i think that would be the general use case), and assets were accidentally turned off, you would want it to abort the deploy.

I would love feedback if you think this is the wrong approach :)

Reported by Adam Holt · April 17th, 2011 @ 04:40 PM

State: new
Milestone: none
Assigned to: nobody
Importance: none

Activity

No comments yet.