Can't run debugger in RubyMine 6.3.2 on Windows

When I try I get this error message:

C:\ruby200\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:/ruby200/lib/ruby/gems/2.0.0/gems/ruby-debug-ide-0.4.23.beta1/bin/rdebug-ide --debug --disable-int-handler --port 52651 --dispatcher-port 52652 -- C:/src/ruby_koans/koans/about_triangle_project.rb
C:/ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- debase_internals (LoadError)
 from C:/ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
 from C:/ruby200/lib/ruby/gems/2.0.0/gems/debase-0.0.9/lib/debase.rb:4:in `<top (required)>'
 from C:/ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
 from C:/ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
 from C:/ruby200/lib/ruby/gems/2.0.0/gems/ruby-debug-ide-0.4.23.beta1/lib/ruby-debug-ide.rb:8:in `<top (required)>'
 from C:/ruby200/lib/ruby/gems/2.0.0/gems/ruby-debug-ide-0.4.23.beta1/bin/rdebug-ide:8:in `require_relative'
 from C:/ruby200/lib/ruby/gems/2.0.0/gems/ruby-debug-ide-0.4.23.beta1/bin/rdebug-ide:8:in `<top (required)>'
 from -e:1:in `load'
 from -e:1:in `<main>'

I'm new to all this and was hoping it would be easy. Any ideas?

5 comments

Hi,

what version of Ruby are you using? How have you installed it?  What version of Windows are you using?

Regards, Oleg.

0

Hi,

I've gotten moving by rolling back to 1.9.3. I was using 2.0.0 installed via chocolatey (everything was correctly in the PATH). I'm running on Windows 7 64-bit. I can do the same setup on my other machine if you think this configuration should work. Otherwise I'm left taking the position that RubyMine doesn't yet support ruby 2.

Thanks,
Chris

0

Hi Chris,

I used to use either RubyInstaller or RailsInstaller to install ruby on WIndows and debugger is supposed to work with them.
It looks like debase native extension is not compatible with ruby binaries you have.  One of possible reasons is that chocolatey
use different devkit for ruby.  Do you know what version of devkit has been used in your case?  BTW are you using 32- or 64-bits ruby?

Regards, Oleg.

0

As a noob with Ruby I don't have the answers to those questions. It's clear that the Chocolatey installs don't have the latest version. I was operating on the assumption that compatibility issues were being managed through proper dependency registration in the chocolatey packages. I guess not. I'll try again on a different machine and get you the version numbers. If the issue is on their end, I'll ask the package maintainers to specify version compatibility in their packages.
Thanks,
Chris

0

I'd say WIndows is the worst possible platform to start playing with ruby :(
IMHO even Linux VM with ruby installed in it is better.

Regards, Oleg.

0

Please sign in to leave a comment.