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