Gnappy is a rails asset pipeline replacement. It uses gulp to minify and concat css and js files.
Add this line to your application's Gemfile:
gem 'gnappy'
And then execute:
$ bundle
Or install it yourself as:
$ gem install gnappy
Run the initializer to add the gnappy files to your application:
rails g gnappy:install
This will add:
- A package.json for node modules.
- A gulpfile with a compile command.
- Some gitignore entries.
- a vendor javascript and css file.
- Fork it ( https://github.com/[my-github-username]/gnappy/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request