Breakfast integrates modern Javascript tooling into your Rails project. Powered by Brunch.io.
Get support for ES6 syntax & modules, live reload for CSS, JS, & HTML, and Yarn support. Be up and running on the latest frontend framework in minutes.
See the official docs at http://breakfast.devlocker.io.
View updates in the CHANGELOG
-
Support Rails 6 by removing constraint on ActionCable
- Puma hanging in clustered mode. Breakfast would fail to cleanly exit on Puma exit, causing the server to hang indefinitely.
- Bumped Rails version dependency, can be used with Rails 5.0 and greater. (Allows usage with Rails 5.1)
- Capistrano rake tasks. Previous behavior has been included into the Rails asset:precompile task. Using the standard Capistrano Rails gem is all that required now.
- Need for a custom Heroku buildpack.
- Update gem with
bundle update breakfast
- Update the JS package with
yarn upgrade breakfast-rails
- If deploying with Capistrano, remove
require "breakfast/capistrano"
from yourCapfile
. Remove any custom Breakfast settings fromconfig/deploy.rb
. Ensure that you are using Capistrano Rails and haverequire 'capistrano/rails'
orrequire 'capistrano/rails/assets'
in yourCapfile
. - If deploying with Heroku, run the following commands:
- heroku buildpacks:clear
- heroku buildpacks:set heroku/nodejs --index 1
- heroku buildpacks:set heroku/ruby --index 2
Note If you are deploying with Capistrano then Yarn is expected to be installed on the hosts your are deploying to.
See list of changes between versions in the CHANGELOG
Bug reports and pull requests are welcome on GitHub at https://github.com/devlocker/breakfast.
The gem is available as open source under the terms of the MIT License.