sj26 / mailcatcher

Catches mail and serves it through a dream.
http://mailcatcher.me
MIT License
6.23k stars 571 forks source link

Dependencies conflict on Latest version and Rails 7 #524

Closed bvicenzo closed 1 year ago

bvicenzo commented 1 year ago

Hi everyone!

I'm trying to use the mailcatcher on Rails 7. However, the newest version seems to have an incompatible version of Rack with Rails.

Captura de Tela 2022-11-14 às 10 22 23
Bundler could not find compatible versions for gem "rack":
  In Gemfile:
    rails (~> 7.0.1, >= 7.0.1) was resolved to 7.0.1, which depends on
      actionpack (= 7.0.1) was resolved to 7.0.1, which depends on
        rack (>= 2.2.0, ~> 2.0)

    mailcatcher (~> 0.8.2) was resolved to 0.8.2, which depends on
      rack (~> 1.5)

The oldest version I could install was 0.2.4. However, this version seems to have this error: https://github.com/sj26/mailcatcher/issues/62

is there any solution or workaround for this?

Thanks, and Best regards!

sj26 commented 1 year ago

Please don't put mailcatcher in your Gemfile: https://github.com/sj26/mailcatcher#bundler