Project

breakfast

0.04
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Replace the asset pipeline with Brunch. Get CSS, JS and HTML live-reloading out of the box. Full ES6 support with require.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
~> 10.0
~> 3.0

Runtime

>= 3.0
>= 5.0
 Project Readme

Breakfast

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.

Installation & Usage

See the official docs at http://breakfast.devlocker.io.

View updates in the CHANGELOG

Latest Patch 0.6.6

Fixed

  • Support Rails 6 by removing constraint on ActionCable

    @mattr

Latest Release 0.6.0

Fixed

  • 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)

Removed

  • 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.

Upgrading

Upgrading to 0.6.0 from 0.5.x

  • Update gem with bundle update breakfast
  • Update the JS package with yarn upgrade breakfast-rails
  • If deploying with Capistrano, remove require "breakfast/capistrano" from your Capfile. Remove any custom Breakfast settings from config/deploy.rb. Ensure that you are using Capistrano Rails and have require 'capistrano/rails' or require 'capistrano/rails/assets' in your Capfile.
  • If deploying with Heroku, run the following commands:
    1. heroku buildpacks:clear
    2. heroku buildpacks:set heroku/nodejs --index 1
    3. 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.

Changes

See list of changes between versions in the CHANGELOG

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/devlocker/breakfast.

License

The gem is available as open source under the terms of the MIT License.