Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.