Forum: Ruby on Rails Rake task that allows you generate static error pages in public folder from partial.

Posted by Alexey Chernenkov (Guest)
on 2013-02-22 14:30
(Received via mailing list)
https://gist.github.com/907th/5013075

Rake task that allows you generate static error pages in public folder 
from
layouts/exception partial.
Usage: rake exceptions:compile_error_pages RAILS_ENV=production.
Dependencies: colored gem for pretty output
(https://rubygems.org/gems/colored), rails 3.2 (tested only for that
version).
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.