freebsd-ports/www/rubygem-rails_serve_static_assets/pkg-descr
Joseph Mingrone 17b11ebc36 New port, www/rubygem-rails_serve_static_assets: Enables serving assets in
production

Adding www/rubygem-rails_serve_static_assets, because it is required for
the upcoming www/mastodon port.

WWW: https://github.com/heroku/rails_serve_static_assets/

Approved by:	swills (mentor, implicit)
2017-04-14 15:28:51 +00:00

8 lines
384 B
Text

This gem forces Rails to serve static assets.
By default Rails4 will return a 404 if an asset is not handled via an external
proxy such as Nginx. While this default behavior may help you debug your Nginx
configuration, it makes a default Rails application with assets unusable on a
12factor platform. This gem fixes that.
WWW: https://github.com/heroku/rails_serve_static_assets/