在我的环境中,每次运行rake任务(到目前为止只与活动迁移有关)时,我会得到三个弃用警告,然后该进程似乎被终止。rake db rake tasks not working Ruby 2.4.0&Rails 5.0.1
➜ job-board-app git:(styles-for-boards-page) ✗ rake db:drop
/Users/jackburum/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:51: warning: constant ::Fixnum is deprecated
/Users/jackburum/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/xml_mini.rb:52: warning: constant ::Bignum is deprecated
/Users/jackburum/.rvm/gems/ruby-2.4.0/gems/activesupport-5.0.1/lib/active_support/core_ext/numeric/conversions.rb:138: warning: constant ::Fixnum is deprecated
同样的事情发生了复位,迁移等寻找什么我可能需要以获得任务成功运行
感谢您的详细解答rakib。这很有帮助。感谢您的链接也 – adamscott
不客气@adamscott。很高兴我能帮上忙 :-) –