Fixing ticket #90.  Where if Rails.assets.cache is nil Rake assets:cache it throws an exception

The code was taken off @tdwalton's issue #90.  Adding a unit test for the error.  I left the version number the same.