1

RubyMine 5.4.2 Ruby 2.0.0-p0 When i try to run debugger it falls out with following. What's wrong with it?

https://gist.github.com/panasyuk/5829345

2 Answers2

6

Debugger gem must not be used, it conflicts with ruby-debug-ide and breaks it.

UPDATE: RubyMine 6+ supports debugger gem.

Community
  • 1
  • 1
CrazyCoder
  • 389,263
  • 172
  • 990
  • 904
  • ruby-debug-ide is the gem you need to use. – CrazyCoder Jul 03 '13 at 05:51
  • Does rubymine IDE debugger works with ruby 2.0. I cant get it to work with ruby 2.0. It was fine with my 1.9.3. Infact i cant even install ruby-debug-ide, linecache, ruby-debug-base19x etc. – AMBasra Dec 31 '13 at 13:37
  • 1
    @AMBasra Ruby 2.0 debugging is fully supported in the current RubyMine version. – CrazyCoder Jan 01 '14 at 19:23
  • @CrazyCoder. Yes you are right. I figured it out that RubyMine versions 4.x doesnt support Ruby 2.0 debugging so i had to upgrade to 5.x version and now its working fine. Thankyou. – AMBasra Jan 01 '14 at 21:16
3

I also had gem 'pry-debugger' enabled, disable that too.

So, just the following, and it works!

gem 'ruby-debug-ide'

#not these
#gem 'debugger'
#gem 'pry-debugger'
mr_than
  • 380
  • 1
  • 2
  • 10