From 76925356b68273cd7ca7a9407a26bef85f6ffba4 Mon Sep 17 00:00:00 2001 From: Nicolas Bouilleaud Date: Mon, 20 May 2019 10:33:43 +0200 Subject: [PATCH] Fix irb_context in rails console MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don’t require rspec_junit_formatter gem It’s only needed when running tests (for circleci). It messes with the console, when running `rails c` it causes this warning: ``` irb: warn: can't alias context from irb_context ``` This is related to rspec monkey_patching a `context` method on `Object` (rspec/rspec-rails#1645) --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index dcd4a3fcf..5896a3c96 100644 --- a/Gemfile +++ b/Gemfile @@ -101,7 +101,7 @@ group :development, :test do gem 'mina', git: 'https://github.com/mina-deploy/mina.git', require: false # Deploy gem 'pry-byebug' gem 'rspec-rails' - gem 'rspec_junit_formatter' + gem 'rspec_junit_formatter', require: false gem 'ruby-debug-ide', require: false gem 'spring' # Spring speeds up development by keeping your application running in the background gem 'spring-commands-rspec'