Ruby crashes when trying to debug Rails through RubyMine

When I try to debug rails 3.1 (ruby 1.9.2_p290) with RubyMine 3.2.4 on OSX Lion, I get a

/Users/dinguva/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/whiny_nil.rb:58: [BUG] Segmentation fault
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0]
... (truncated)
You may have encountered a bug in the Ruby interpreter or extension libraries.
The whole trace is here:

Here are the debug related gems installed:
gem list | grep debug
ruby-debug-base19 (0.11.25)
ruby-debug-base19x (0.11.30.pre4, 0.11.30.pre2, 0.11.29, 0.11.26)
ruby-debug-ide (0.4.17.beta8, 0.4.17.beta3)
ruby-debug19 (0.11.6)

I have no problems running rails server from console or running it from the RubyMine IDE. The above error occurs only when I try to debug from within Rubymine. Any pointers would be greatly appreciated.

1 comment

Please file an issue to As a workaround, disabling Rails whiny nils (config.whiny_nils = false in your application.rb) feature may help.


Please sign in to leave a comment.