From fdc8b05ab181b809fd7d0fb3b8e8d73fac534fd0 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Fri, 22 Apr 2016 12:36:47 -0400 Subject: Re-generate Spring binstubs for updated version of Spring Prevents output like this: Array values in the parameter are deprecated. Please use a String or nil. An Array was passed in from bin/rspec:3:in `load' --- bin/rails | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/rails') diff --git a/bin/rails b/bin/rails index 5191e6927af..0138d79b751 100755 --- a/bin/rails +++ b/bin/rails @@ -1,4 +1,9 @@ #!/usr/bin/env ruby +begin + load File.expand_path('../spring', __FILE__) +rescue LoadError => e + raise unless e.message.include?('spring') +end APP_PATH = File.expand_path('../../config/application', __FILE__) require_relative '../config/boot' require 'rails/commands' -- cgit v1.2.1