diff --git a/bin/rspec b/bin/rspec index 91cf232..03365b6 100755 --- a/bin/rspec +++ b/bin/rspec @@ -4,7 +4,7 @@ ENV['RAILS_ENV'] ||= 'test' dummy_root = File.expand_path("../spec/dummy/rails-4.1.9", File.dirname(__FILE__)) begin - load File.expand_path("../spring", __FILE__) if File.exists?(dummy_root) + load File.expand_path("../spring", __FILE__) if File.exist?(dummy_root) rescue LoadError end require 'bundler/setup'