Skip to content

Conversation

@MatzFan
Copy link

@MatzFan MatzFan commented Jun 19, 2025

Fixes #16

@MatzFan
Copy link
Author

MatzFan commented Jun 19, 2025

Couldn't run tests due to typos:

$ bundle exec rspec
An error occurred while loading spec_helper.
Failure/Error: Dir.mkdir(CERT_DIR) unless File.exists?(CERT_DIR)

NoMethodError:
  undefined method 'exists?' for class File
# ./lib/evil-proxy/quickcert.rb:61:in '<class:QuickCert>'
# ./lib/evil-proxy/quickcert.rb:54:in '<top (required)>'
# ./lib/evil-proxy/mitmproxy.rb:3:in '<top (required)>'
# ./lib/evil-proxy.rb:3:in '<top (required)>'
# ./spec/spec_helper.rb:4:in '<top (required)>'
No examples found.

File.exists? should be File.exist?.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't install with development gem set due to pinned bundler version

1 participant