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). -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/ZAExytak_z0J. For more options, visit https://groups.google.com/groups/opt_out.

