diff options
author | Jeff King <peff@peff.net> | 2022-10-05 18:10:41 +0300 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2022-10-05 18:10:41 +0300 |
commit | 94bf6b04d5250ff773f8d6401b3b0116da805657 (patch) | |
tree | f75c206cfa8bf9724075bf76fe14248c7568e1f7 | |
parent | f84b7cabed5c587ae2e9eb0ace3558ad78af1b01 (diff) |
Gemfile: include net-smtp, etc
There is a weird interaction with Rails 6 and Ruby 3.1. I imagine what
happened is that net-smtp, etc, are no longer in the default gem setup.
Looks like Rails 7 has fixed this, but even the most recent version of
Rails 6 has not.
Details:
https://stackoverflow.com/questions/70500220/rails-7-ruby-3-1-loaderror-cannot-load-such-file-net-smtp
-rw-r--r-- | Gemfile | 5 | ||||
-rw-r--r-- | Gemfile.lock | 12 |
2 files changed, 17 insertions, 0 deletions
@@ -5,6 +5,11 @@ ruby "3.1.2" gem "rails", "~> 6.0" +# hacks for rails6 + ruby 3.1 +gem 'net-smtp', require: false +gem 'net-imap', require: false +gem 'net-pop', require: false + gem "asciidoctor", "~> 2.0.0" gem "elasticsearch", "2.0.2" gem "iso8601" diff --git a/Gemfile.lock b/Gemfile.lock index 29549018..4cc4caf1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -150,6 +150,14 @@ GEM minitest (5.14.4) multi_json (1.15.0) multipart-post (2.1.1) + net-imap (0.3.1) + net-protocol + net-pop (0.1.2) + net-protocol + net-protocol (0.1.3) + timeout + net-smtp (0.3.2) + net-protocol nio4r (2.5.8) nokogiri (1.13.6) mini_portile2 (~> 2.8.0) @@ -309,6 +317,7 @@ GEM sqlite3 (1.4.2) thor (1.1.0) tilt (2.0.10) + timeout (0.3.0) tzinfo (2.0.4) concurrent-ruby (~> 1.0) uglifier (4.2.0) @@ -341,6 +350,9 @@ DEPENDENCIES foreman iso8601 listen + net-imap + net-pop + net-smtp nokogiri octokit pg |