tpitale / mail_room

Forward mail from gmail IMAP to a callback URL or job worker, simply.
MIT License
193 stars 51 forks source link

Revert "Fix warnings when loading net/protocol" #128

Closed stanhu closed 3 years ago

stanhu commented 3 years ago

Reverts tpitale/mail_room#123

This update is a bit of a pain with Ruby 2.7 because the newer uri gem pulled in by net-http can cause these errors:

/usr/local/bundle/gems/bundler-2.2.16/lib/bundler/runtime.rb:302:in `check_for_activated_spec!': You have already activated uri 0.10.0, but your Gemfile requires uri 0.10.1. Since uri is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports uri as a default gem. (Gem::LoadError)

Until uri finally becomes a default gem in Ruby/Rubygems (reverted in https://github.com/ruby/ruby/commit/bcfe94b7f20fa3a581fc5d6f2aef837327bfb770), I think we need to stick with the standard version.