Rubymine 调试器在配备 M1 芯片的 Macbook 上失败
我最近切换到带有M1芯片的MacBook,但是现在尝试在Rubymine 2021.3.3上以调试模式运行我的项目时,我会收到以下错误:
/Users/xxx/.rbenv/versions/2.7.4/lib/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb:85:in
`require': dlopen(/Users/xxx/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/debase-2.3.2/lib/debase_internals.bundle, 0x0009): tried:
'/Users/xxx/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/debase-2.3.2/lib/debase_internals.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')),
'/usr/local/lib/debase_internals.bundle' (no such file),
'/usr/lib/debase_internals.bundle' (no such file)
- /Users/xxx/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/debase-2.3.2/lib/debase_internals.bundle (LoadError)
I recently switched to a Macbook with the M1 chip, but now when trying to run my project in debugger mode on Rubymine 2021.3.3 I get the following error:
/Users/xxx/.rbenv/versions/2.7.4/lib/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb:85:in
`require': dlopen(/Users/xxx/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/debase-2.3.2/lib/debase_internals.bundle, 0x0009): tried:
'/Users/xxx/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/debase-2.3.2/lib/debase_internals.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')),
'/usr/local/lib/debase_internals.bundle' (no such file),
'/usr/lib/debase_internals.bundle' (no such file)
- /Users/xxx/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/debase-2.3.2/lib/debase_internals.bundle (LoadError)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下是我解决此问题的方法:
我现在已经启动并运行了。祝你好运!
菲什
Here is how I resolved this issue:
I am now up and running. Best of luck!
Fissh