sj26 / mailcatcher

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

can not start mailcatcher #539

Closed aurammh closed 1 year ago

aurammh commented 1 year ago

myominhtet@SIAN:/mnt/c/MyDatas/kids$ mailcatcher Starting MailCatcher v0.8.2 ==> smtp://127.0.0.1:1025 /home/myominhtet/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/thin-1.5.1/lib/thin/server.rb:104:in `block in initialize': uninitialized constant Thin::Server::Fixnum (NameError)

    when Fixnum, /^\d+$/ then port    = arg.to_i
         ^^^^^^

Could you help me!

alagos commented 1 year ago

That's because the last stable version (0.8.2) uses a thin version uncompatible with ruby 3.x Anyway, this has been solved in the last beta versions. Try with:

gem install mailcatcher --version=0.9.0.beta2
kishaningithub commented 1 year ago

Can a release be published?

sj26 commented 1 year ago

v0.9.0 is out -- please give it a go:

gem install mailcatcher

Re-open if you continue having issues.