BSD Ports

www/rubygem-rails_serve_static_assets 0.0.5 FreeBSD

Enables serving assets in production

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
www, rubygems
Package size
635.9 KiB, 1279.6 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDwww/rubygem-rails_serve_static_assets0.0.5
DragonFlywww/rubygem-rails_serve_static_assets0.0.5
HardenedBSDwww/rubygem-rails_serve_static_assets0.0.5
GhostBSDwww/rubygem-rails_serve_static_assets0.0.5

Install

Binary package:

pkg install rubygem-rails_serve_static_assets

From the ports tree:

cd /usr/ports/www/rubygem-rails_serve_static_assets/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-rails_serve_static_assets>0:www/rubygem-rails_serve_static_assets

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0.50.0.50.0.50.0.50.0.5
FreeBSD:14:quarterly0.0.50.0.5n/a0.0.50.0.5
FreeBSD:15:latest0.0.50.0.5n/a0.0.50.0.5
FreeBSD:15:quarterly0.0.50.0.5n/an/an/a
FreeBSD:16:latest0.0.50.0.5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/rails_serve_static_assets-0.0.5.gem1.285632e+06203bf07eaf188512ef5c7e2243285564b29dcf77a0909b9693983495ae1380e9
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.