Skip to content

Commit

Permalink
Fix File.exists call
Browse files Browse the repository at this point in the history
REDMINE-19438
  • Loading branch information
tf committed Oct 2, 2023
1 parent f946b8d commit 09aeebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/rspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 09aeebd

Please sign in to comment.