From 48b59620c1f17cae7c88db8d08bba502f47bd144 Mon Sep 17 00:00:00 2001 From: Jan Provaznik Date: Wed, 7 Nov 2018 21:09:42 +0100 Subject: Make rails5 defailt in bin/* scripts --- bin/rspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/rspec') diff --git a/bin/rspec b/bin/rspec index 26583242051..b0770e30a70 100755 --- a/bin/rspec +++ b/bin/rspec @@ -2,7 +2,7 @@ # Remove these two lines below when upgraded to rails 5.0. # Allow run `rspec` command as `RAILS5=1 rspec ...` instead of `BUNDLE_GEMFILE=Gemfile.rails5 rspec ...` -gemfile = %w[1 true].include?(ENV["RAILS5"]) ? "Gemfile.rails5" : "Gemfile" +gemfile = %w[0 false].include?(ENV["RAILS5"]) ? "Gemfile.rails4" : "Gemfile" ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../#{gemfile}", __dir__) begin -- cgit v1.2.1