gpt4 book ai didi

rubygems - mailcatcher 无法启动

转载 作者:行者123 更新时间:2023-12-03 03:46:15 31 4
gpt4 key购买 nike

我正在关注http://mailcatcher.me/文档

  1. gem 安装 mailcatcher
  2. 邮件捕捉器
  3. 转到http://localhost:1080/
  4. 通过 smtp://localhost:1025 发送邮件

我能够安装 mailcatcher

Fetching: mailcatcher-0.6.1.gem (100%)
Successfully installed mailcatcher-0.6.1
Parsing documentation for mailcatcher-0.6.1
Installing ri documentation for mailcatcher-0.6.1
Done installing documentation for mailcatcher after 0 seconds
1 gem installed

但是当我想通过运行命令mailcatcher来启动服务时我明白了

/Users/MoisesZaragoza/.rvm/gems/ruby-2.1.5/gems/eventmachine-1.0.5/lib/rubyeventmachine.bundle: [BUG] Segmentation fault at 0x00000000000440
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin14.0]

-- Control frame information -----------------------------------------------
c:0015 p:-17558973087826 s:0069 e:000068 TOP [FINISH]
c:0014 p:---- s:0067 e:000066 CFUNC :require
c:0013 p:0113 s:0063 e:000062 METHOD /Users/ShipSticks/.rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54
c:0012 p:0080 s:0053 e:000052 TOP /Users/ShipSticks/.rvm/gems/ruby-2.1.5/gems/eventmachine-1.0.5/lib/eventmachine.rb:8 [FINISH]
c:0011 p:---- s:0051 e:000050 CFUNC :require
c:0010 p:0113 s:0047 e:000046 METHOD /Users/ShipSticks/.rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54
c:0009 p:0039 s:0037 e:000036 TOP /Users/ShipSticks/.rvm/gems/ruby-2.1.5/gems/mailcatcher-0.6.1/lib/mail_catcher.rb:6 [FINISH]
c:0008 p:---- s:0035 e:000034 CFUNC :require
c:0007 p:0113 s:0031 e:000030 METHOD /Users/ShipSticks/.rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54
c:0006 p:0007 s:0021 e:000020 TOP /Users/ShipSticks/.rvm/gems/ruby-2.1.5/gems/mailcatcher-0.6.1/bin/mailcatcher:3 [FINISH]
c:0005 p:---- s:0019 e:000018 CFUNC :load
c:0004 p:0135 s:0015 E:002238 EVAL /Users/ShipSticks/.rvm/gems/ruby-2.1.5/bin/mailcatcher:23 [FINISH]
c:0003 p:---- s:0011 e:000010 CFUNC :eval
c:0002 p:0118 s:0005 E:001350 EVAL /Users/ShipSticks/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15 [FINISH]
c:0001 p:0000 s:0002 E:001928 TOP [FINISH]

最佳答案

看起来 eventmachine 级别出现了问题。尝试重新安装 eventmachine(或升级到更新版本)。

如果这仍然不起作用,请尝试在容器中使用 MailCatcher(请参阅 MailCatcher Docker using Alpine )。在您的项目中使用容器可以节省您的时间,因为它们保持更稳定,特别是当您必须升级操作系统或迁移到新电脑时。

关于rubygems - mailcatcher 无法启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29564559/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com