Festive Errors
Festive Errors is a Rails gem that spices up the Rails error page with fun holiday themes. We all like to do a little coding around the holidays. Get into the holiday spirit with Festive Errors!
![A screenshot of the Rails error page in a web browser that displays an exception that was raise. The error message reads "Happy Halloween!" and there is a ghost emoji in the page heading.](./festive_errors.png)
Debugging an exception in the month of October.
Usage
The gem adds a CSS theme override to the Rails debug page when your app raises an error in development. All you need to do is install it.
Installation
Add the gem to your Gemfile:
bundle add festive_errors --group development
Contributing
This is a new gem. The themes and holidays are limited, and it needs tests. Contributions are welcome!
- Fork it.
- Create a topic branch
git checkout -b my_branch
- Make your changes and add an entry to CHANGELOG.md.
- Commit your changes
git commit -am "Happy Hanukkah!"
- Push to your branch
git push origin my_branch
- Send a pull request
Development
Run the local Rails server in the gem directory to raise a test exception:
git clone git@github.com:honeybadger-io/festive_errors.git
cd festive_errors
bundle install
bin/rails server
...then visit http://localhost:3000/
Releasing
gem install gem-release
gem bump -v [version] -t -r
- Update unreleased heading in CHANGELOG.md (TODO: automate
this in gem-release command)
git push origin main --tags
License
The gem is available as open source under the terms of the MIT License.