nragaz/tipsy-rails — pull request #7 by andycox (2014-03-18 20:10:50+00:00)
Title: Tell Rails 4 to automatically precompile images

As of Rails 4, image assets in `vendor/assets` are no longer automatically precompiled, including those from gems (see rails/rails#7968). This means that `tipsy.gif` is excluded by default when deploying to production.

Rather than forcing users to muck around with `environments/production.rb` to include images, it makes sense to change the default to include the relevant images. It appears that the preferred way to do this is to add `tipsy.gif` to `config.assets.precompile` in the Rails engine, as in twbs/bootstrap-sass#391.

If you prefer, an alternative is to rename `vendor/assets` to `app/assets` as images in a gem's `app/assets` are precompiled by default. (I tried that first before discovering the preferred technique.) This approach is similar to how other similar gems are dealing with this (e.g., https://github.com/joliss/jquery-ui-rails/pull/39).