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
| System | Port | Version |
|---|---|---|
| FreeBSD | www/rubygem-rails_serve_static_assets | 0.0.5 |
| DragonFly | www/rubygem-rails_serve_static_assets | 0.0.5 |
| HardenedBSD | www/rubygem-rails_serve_static_assets | 0.0.5 |
| GhostBSD | www/rubygem-rails_serve_static_assets | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.0.5 | 0.0.5 | 0.0.5 | 0.0.5 | 0.0.5 |
| FreeBSD:14:quarterly | 0.0.5 | 0.0.5 | n/a | 0.0.5 | 0.0.5 |
| FreeBSD:15:latest | 0.0.5 | 0.0.5 | n/a | 0.0.5 | 0.0.5 |
| FreeBSD:15:quarterly | 0.0.5 | 0.0.5 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.0.5 | 0.0.5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
Required by 1
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/rails_serve_static_assets-0.0.5.gem | 1.285632e+06 | 203bf07eaf188512ef5c7e2243285564b29dcf77a0909b9693983495ae1380e9 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.