sstephenson/sprockets — pull request #513 by sonnym (2013-12-07 20:49:08+00:00)
Title: Guard against nil stat

I am using bower to manage front-end dependencies and processing them with the asset pipeline in a rails application, and, having forgotten to acquire the dependencies was linking to a non-existent file from a directory controlled by the pipeline. As a result, sprockets was raising an unexpected exception, so I added a check and raised a standard exception.

Let me know if this needs any additional work. Thanks!