mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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)
This commit is contained in:
parent
2573d1060b
commit
17b11ebc36
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438522
4 changed files with 31 additions and 0 deletions
|
@ -2066,6 +2066,7 @@
|
|||
SUBDIR += rubygem-rack16
|
||||
SUBDIR += rubygem-rails4
|
||||
SUBDIR += rubygem-rails_autolink
|
||||
SUBDIR += rubygem-rails_serve_static_assets
|
||||
SUBDIR += rubygem-rails-settings-cached
|
||||
SUBDIR += rubygem-railties4
|
||||
SUBDIR += rubygem-railties5
|
||||
|
|
19
www/rubygem-rails_serve_static_assets/Makefile
Normal file
19
www/rubygem-rails_serve_static_assets/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= rails_serve_static_assets
|
||||
PORTVERSION= 0.0.5
|
||||
CATEGORIES= www rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
MAINTAINER= jrm@FreeBSD.org
|
||||
COMMENT= Enables serving assets in production
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
USE_RUBY= yes
|
||||
USES= gem
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/rubygem-rails_serve_static_assets/distinfo
Normal file
3
www/rubygem-rails_serve_static_assets/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1492183315
|
||||
SHA256 (rubygem/rails_serve_static_assets-0.0.5.gem) = 203bf07eaf188512ef5c7e2243285564b29dcf77a0909b9693983495ae1380e9
|
||||
SIZE (rubygem/rails_serve_static_assets-0.0.5.gem) = 1285632
|
8
www/rubygem-rails_serve_static_assets/pkg-descr
Normal file
8
www/rubygem-rails_serve_static_assets/pkg-descr
Normal file
|
@ -0,0 +1,8 @@
|
|||
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/
|
Loading…
Add table
Reference in a new issue