enabled was taken out from sprockets-rails v2, simply check if assets are defined
Merge pull request #20 from dmathieu/fix-for-sprockets-v2

config.assets.enabled was taken out from sprockets-rails v2, simply check if assets are defined