Comments (10)
This was fixed in an updated version of mailcatcher. Update and you should be fine.
from mailcatcher.
Thanks.
from mailcatcher.
Crashes for me as well using version 0.2.4
gems/eventmachine-1.0.4/lib/eventmachine.rb:1455:in `event_callback': undefined method `close' for 11:Fixnum (NoMethodError)
from mailcatcher.
@stefanahman that's a very old version of mailcatcher, please upgrade
from mailcatcher.
Starting MailCatcher
==> smtp://127.0.0.1:1025
==> http://127.0.0.1:1080
Haml::TempleEngine: Option :outvar is invalid
/home/.rvm/gems/ruby-2.3.0/gems/eventmachine-1.2.3/lib/eventmachine.rb:1489:in `event_callback': undefined method `close' for 18:Fixnum (NoMethodError)
Did you mean? clone
from /home/.rvm/gems/ruby-2.3.0/gems/eventmachine-1.2.3/lib/eventmachine.rb:194:in `run_machine'
from /home/.rvm/gems/ruby-2.3.0/gems/eventmachine-1.2.3/lib/eventmachine.rb:194:in `run'
from /home/.rvm/gems/ruby-2.3.0/gems/mailcatcher-0.2.4/lib/mail_catcher.rb:21:in `run'
from /home/.rvm/gems/ruby-2.3.0/gems/mailcatcher-0.2.4/bin/mailcatcher:44:in `<top (required)>'
from /home/.rvm/gems/ruby-2.3.0/bin/mailcatcher:23:in `load'
from /home/.rvm/gems/ruby-2.3.0/bin/mailcatcher:23:in `<main>'
from /home/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
from /home/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'
from mailcatcher.
Hi,
I'm getting the same error when accessing the http://127.0.0.1:1080
bundle exec mailcatcher
Starting MailCatcher
==> smtp://127.0.0.1:1025
==> http://127.0.0.1:1080
Haml::TempleEngine: Option :outvar is invalid
bundler: failed to load command: mailcatcher (/Users/username/.rbenv/versions/2.3.1/bin/mailcatcher)
NoMethodError: undefined method `close' for 14:Fixnum
Did you mean? clone
/Users/username/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/eventmachine-1.2.5/lib/eventmachine.rb:1489:in `event_callback'
/Users/username/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/eventmachine-1.2.5/lib/eventmachine.rb:194:in `run_machine'
/Users/username/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/eventmachine-1.2.5/lib/eventmachine.rb:194:in `run'
/Users/username/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/mailcatcher-0.2.4/lib/mail_catcher.rb:21:in `run'
/Users/username/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/mailcatcher-0.2.4/bin/mailcatcher:44:in `<top (required)>'
/Users/username/.rbenv/versions/2.3.1/bin/mailcatcher:23:in `load'
/Users/username/.rbenv/versions/2.3.1/bin/mailcatcher:23:in `<top (required)>'`
I am using mailcatcher-0.6.5
from mailcatcher.
I was able to fix this by not including mailcatcher in the gemfile as suggested in #290. I also used executed it using mailcather
instead of bundle exec mailcatcher
from mailcatcher.
@mcris-roberto please do not put mailcatcher in your Gemfile. You are using mailcatcher 0.2.4, as stated in your backtrace, due to bundler's dependency resolution mechanisms falling back to an older version, and that version does not support eventmachine 1.2.5, which bundler has chosen to install. Instead, gem install mailcatcher
and mailcatcher
.
from mailcatcher.
@mcris-roberto Nice timing! π
from mailcatcher.
@SachinRJadhav you're having the same issue βΒ please use mailcatcher directly, not within a Gemfile.
I'm locking this issue. If you get the above error make sure you're not using mailcatcher in a Gemfile, and that you're using the latest version (gem update mailcatcher
).
from mailcatcher.
Related Issues (20)
- Install fails in GIT Action since yesterday HOT 4
- mailcatcher - PHP 8.0./8.1 HOT 8
- uninitialized constant Thin::Server::Fixnum (NameError) HOT 2
- Doesn't work on rhel8-like distr in docker with arm arch HOT 4
- Display name to/from not showing on web/api
- ruby-3.0.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:1490:in `event_callback': undefined method `close' for 9:Integer (NoMethodError) HOT 2
- Not compatible with newest version of Rails 7.0.4.3 HOT 4
- Add clarity about message delivery in the readme HOT 1
- can not start mailcatcher HOT 3
- Thin::Server::Fixnum HOT 1
- Send email to stdout HOT 1
- Eventmachine fails to compile on Windows HOT 15
- Exception: undefined method `length' for nil:NilClass HOT 1
- Fixnum is uninitialized HOT 2
- Installation fails
- Liveness and Readiness probles HOT 1
- No longer updates just-sent emails HOT 5
- Update gem spec minimum versions HOT 3
- 0.9.1.beta2 does not work with Ruby 3.3 HOT 5
- Issue with Displaying Logs in MailCatcher HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailcatcher.