josin / guard-bundler

Guard::Bundler automatically install/update your gem bundle when needed

Home Page:https://rubygems.org/gems/guard-bundler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Guard::Bundler

Bundler guard allows to automatically & intelligently install/update bundle when needed.

  • Compatible with Bundler 1.0.x

  • Tested on Ruby 1.8.6, 1.8.7 & 1.9.2.

Install

Please be sure to have Guard installed before continue.

Install the gem:

gem install guard-bundler

Add it to your Gemfile (inside test group):

gem 'guard-bundler'

Add guard definition to your Guardfile by running this command:

guard init bundler

Usage

Please read Guard usage doc

Guardfile

Bundler guard can be really be adapted to all kind of projects. Advice: place Bundler guard before other is recommended.

Standard ruby gems

guard 'bundler' do
  watch('Gemfile')
  # Uncomment next line if Gemfile contain `gemspec' command
  # watch(/^.+\.gemspec/)
end

Options

You can disable desktop notification with:

guard 'bundler', :notify => false do
  ...
end

You can pass arbitrary command line options. Eg.:

guard 'bundler', :cli => '--binstubs' do
  ...
end

Please read Guard doc for more info about Guardfile DSL.

Development

Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.

Authors

Yann Lugrin

About

Guard::Bundler automatically install/update your gem bundle when needed

https://rubygems.org/gems/guard-bundler

License:MIT License


Languages

Language:Ruby 100.0%