符号在平面名称空间中找不到在Mac M1中
做任何想法时,我有问题
bundle exec rails db:migrate
当我对如何修复它 ? 我不知道为什么找不到_mysql_affected_rows。 帮助您将不胜感激。
rails aborted!
LoadError: dlopen(/Users/myname/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.4/lib/mysql2/mysql2.bundle, 0x0009): symbol not found in flat namespace '_mysql_affected_rows' - /Users/myname/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.4/lib/mysql2/mysql2.bundle
/Users/myname/Desktop/github/company/config/application.rb:9:in `<top (required)>'
/Users/myname/Desktop/github/company/Rakefile:4:in `require_relative'
/Users/myname/Desktop/github/company/Rakefile:4:in `<top (required)>'
bin/rails:4:in `<main>'
(See full trace by running task with --trace)
i have a problem when i did
bundle exec rails db:migrate
Any ideas on how to fix it?
I have no idea why _mysql_affected_rows is not found.
Help would be appreciated.
rails aborted!
LoadError: dlopen(/Users/myname/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.4/lib/mysql2/mysql2.bundle, 0x0009): symbol not found in flat namespace '_mysql_affected_rows' - /Users/myname/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/mysql2-0.5.4/lib/mysql2/mysql2.bundle
/Users/myname/Desktop/github/company/config/application.rb:9:in `<top (required)>'
/Users/myname/Desktop/github/company/Rakefile:4:in `require_relative'
/Users/myname/Desktop/github/company/Rakefile:4:in `<top (required)>'
bin/rails:4:in `<main>'
(See full trace by running task with --trace)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论