engineyard/engineyard-serverside — pull request #41 by dipth (2012-09-10 09:44:05+00:00)
Title: Allow overriding on which roles to precompile assets

This allows you to easily override on which roles to precompile assets in your eydeploy.rb file by simply opening up the ```EY::Serverside::RailsAssetSupport``` module and redefining the ```asset_roles``` method without having to override the entire ```compile_assets``` method

This is a replacement for #37, which can be closed.

**Example:**

```ruby
module ::EY::Serverside::RailsAssetSupport
protected
def asset_roles
[:app_master, :app, :solo, :util]
end
end
```

**Please note the failing specs!**
I wasn't sure how to simulate the deploy running on a util-instance.
Could someone give me a hint?