Mysql 轨道偏移会产生分段错误

Mysql 轨道偏移会产生分段错误,mysql,ruby-on-rails,ruby,migration,Mysql,Ruby On Rails,Ruby,Migration,我尝试运行迁移脚本。 但它会产生分离断层 此环境是amazon linux上的ruby2.4.4和rails5.1 ============= WARNING FROM mysql2 ============= The options :user, :pass, :hostname, :dbname, :db, and :sock are deprecated and will be removed at some point in the future. Instead, please us

我尝试运行迁移脚本。 但它会产生分离断层

此环境是amazon linux上的ruby2.4.4和rails5.1

============= WARNING FROM mysql2 =============
The options :user, :pass, :hostname, :dbname, :db, and :sock are deprecated and will be 
removed at some point in the future.
Instead, please use :username, :password, :host, :port, :database, :socket, :flags for the 
options.
============= END WARNING FROM mysql2 =========
/usr/local/rvm/gems/ruby-2.4.4/gems/activerecord- 
5.1.6.1/lib/active_record/connection_adapters/mysql/database_statements.rb:17: [BUG] 
Segmentation fault at 0x0000000000000b98
ruby 2.4.4p296 (2018-03-28 revision 63013) [x86_64-linux]

为什么会发生这种情况?

我可以通过升级ruby来解决