support sprockets only

this enables the gem to be used in sinatra apps aswell instead of
forcing the user to use rails