From 9455a82978e4cc7ca3aea72d1dea8d2650e99e0a Mon Sep 17 00:00:00 2001 From: Cody Olsen Date: Wed, 6 Dec 2017 18:49:59 -0700 Subject: [PATCH] guard-rspec Installs guard-rspec with `:require => false` which follows the instructions at https://github.com/guard/guard-rspec#install This eliminates the error `irb: warn: can't alias context from irb_context.` on `rails c` --- recipes/gems.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/gems.rb b/recipes/gems.rb index 8bf23150..76ff3e99 100644 --- a/recipes/gems.rb +++ b/recipes/gems.rb @@ -68,7 +68,7 @@ if prefer :continuous_testing, 'guard' add_gem 'guard-bundler', :group => :development add_gem 'guard-rails', :group => :development - add_gem 'guard-rspec', :group => :development + add_gem 'guard-rspec', :group => :development, :require => false add_gem 'rb-inotify', :group => :development, :require => false add_gem 'rb-fsevent', :group => :development, :require => false add_gem 'rb-fchange', :group => :development, :require => false