Use asset pipeline if defined Sprockets instead of checking for Rails version
Use asset-path instead of image-path b/c using some different 3.0.x asset pipeline