Skip to content

Instantly share code, notes, and snippets.

@lujanfernaud
Created October 29, 2018 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lujanfernaud/f4a835fbc4d302729b3a54fc982805c9 to your computer and use it in GitHub Desktop.
Save lujanfernaud/f4a835fbc4d302729b3a54fc982805c9 to your computer and use it in GitHub Desktop.
Rails: Adding guard-rails_best_practices

Rails: Adding guard-rails_best_practices

Add gem using source from GitHub to :development environment.

group :development do
  # ...
  gem 'guard'
  gem 'guard-rails_best_practices',
    github: 'logankoester/guard-rails_best_practices', require: false
  # ...
end

If running guard init rails_best_practices throws an error, add the following to the Guardfile:

guard :rails_best_practices do
  watch(%r{^app/(.+)\.rb$})
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment