Skip to content

Commit

Permalink
Merge pull request #45 from edouard/ruby-3.2
Browse files Browse the repository at this point in the history
Fix compatibility issue with ruby 3.2
  • Loading branch information
rymai authored Jan 27, 2023
2 parents 9887557 + d668608 commit 914be69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard/bundler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def refresh_bundle
end

def bundle_check
gemfile_lock_mtime = File.exists?('Gemfile.lock') ? File.mtime('Gemfile.lock') : nil
gemfile_lock_mtime = File.exist?('Gemfile.lock') ? File.mtime('Gemfile.lock') : nil
::Bundler.with_unbundled_env do
`bundle check`
end
Expand Down

0 comments on commit 914be69

Please sign in to comment.