我正在使用mina将我的应用程序部署到暂存和生产服务器。一切都很好,直到上个月我运行mina命令部署我的应用程序时,它向我显示了错误
米娜流产了!
NoMethodError:未定义的方法
remove_possible_method' for
DateTime:Class Did you mean? remove_method
/home/tiendo/.rvm/gems/ruby-2.4.2/gems/activesupport-5.0.6/lib/active_support/core_ext/date_time/compatibility.rb:6:in
'
/home/tiendo/。rvm/gems/ruby-2.4.2/gems/activesupport-5.0.6/lib/active\u support/core\u ext/date\u time/compatibility。rb:3:in
<top (required)>'
/home/tiendo/.rvm/gems/ruby-2.4.2/gems/activesupport-5.0.6/lib/active_support/core_ext/date_time.rb:4:in
需要'
/home/tiendo/。rvm/gems/ruby-2.4.2/gems/activesupport-5.0.6/lib/active\u support/core\u ext/date\u time。rb:4:in
<top (required)>'
/home/tiendo/.rvm/gems/ruby-2.4.2/gems/activesupport-5.0.6/lib/active_support/core_ext.rb:3:in
`在'
日志错误很长。所以,我只是复制日志的开头。如果你们想看到完整的日志错误。请让我知道,我要编辑它。
我的rails应用程序的版本是5.0.6。此外,我正在使用rvm,我试图切换到ruby 2.8.2、2.3.3,但它仍然显示出相同的错误。我已经寻找解决方案一段时间了,但仍然不知道是什么导致了错误。如有任何建议,我们将不胜感激。谢谢大家。