Rubymine debbuger issue with gem debase and macbook m1

Hello, guys!

I'm have trouble trying to use Rubymine, I'm using asdf with ruby 3.0.0, and I can't use the debugger because debase are trying to install a incompatible architecture x86_64 instead of arm64e

 

<internal:/Users/caioladeia/.asdf/installs/ruby/3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': dlopen(/Users/caioladeia/.asdf/installs/ruby/3.0.0/lib/ruby/gems/3.0.0/gems/debase-0.2.5.beta2/lib/debase_internals.bundle, 0x0009): tried: '/Users/caioladeia/.asdf/installs/ruby/3.0.0/lib/ruby/gems/3.0.0/gems/debase-0.2.5.beta2/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/caioladeia/.asdf/installs/ruby/3.0.0/lib/ruby/gems/3.0.0/gems/debase-0.2.5.beta2/lib/debase_internals.bundle (LoadError)

from <internal:/Users/caioladeia/.asdf/installs/ruby/3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /Users/caioladeia/.asdf/installs/ruby/3.0.0/lib/ruby/gems/3.0.0/gems/debase-0.2.5.beta2/lib/debase.rb:4:in `<top (required)>'
from <internal:/Users/caioladeia/.asdf/installs/ruby/3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/Users/caioladeia/.asdf/installs/ruby/3.0.0/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /Users/caioladeia/.asdf/installs/ruby/3.0.0/lib/ruby/gems/3.0.0/gems/ruby-debug-ide-0.7.3/lib/ruby-debug-ide.rb:9:in `<top (required)>'
from /Users/caioladeia/.asdf/installs/ruby/3.0.0/lib/ruby/gems/3.0.0/gems/ruby-debug-ide-0.7.3/bin/rdebug-ide:8:in `require_relative'
from /Users/caioladeia/.asdf/installs/ruby/3.0.0/lib/ruby/gems/3.0.0/gems/ruby-debug-ide-0.7.3/bin/rdebug-ide:8:in `<main>'

 

How can I fix that?

0

Hello,

Could you please specify your OS version and build? Is it Apple Silicon? It'd be great if you could share the whole idea.log (Help - Show log in). You can do it on our tracker after creating the issue (the visibility can be restricted to JetBrains team only): https://youtrack.jetbrains.com/issues/RUBY

0

I am having this same issue. Has there been any breakthroughs on fixing it?
OS version and build? Monterey 12.2.1

Is it Apple Silicon? Macbook Pro w/ Apple M1 Pro chip

 

UPDATE: This thread got me all fixed up (https://youtrack.jetbrains.com/issue/RUBY-29416)

0

请先登录再写评论。