title: Rubymine 6.0.2, unable to debug
body: <p>On my new OSX Mavericks install, I wanted to give Rubymine a try and just can't get the debugger working (although i managed to get it working on Windows 7 with IntelliJ and the ruby plugin).</p>
  
  <p>Here's what I did (XCode and commandline tools already installed):</p>
  
  <pre><code>homebrew install ruby
  gem update --system
  </code></pre>
  
  <p>Then I installed Rubymine and opened some of my projects. Upon starting the debugger, rubymine tries to install dependencies:</p>
  
  <blockquote>
    <p>Failed to Install Gems. Following gems were not installed:
    /Applications/RubyMine.app/rb/gems/ruby-debug-ide-0.4.22.gem: Error
    installing ruby-debug-ide-0.4.22.gem: ERROR: Failed to build gem
    native extension.
    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
    mkrf_conf.rb Installing base gem You don't have write permissions for
    the /Library/Ruby/Gems/2.0.0 directory.
    /Library/Ruby/Site/2.0.0/rubygems/installer.rb:620:in
    <code>verify_gem_home'
    /Library/Ruby/Site/2.0.0/rubygems/installer.rb:740:in
    </code>pre_install_checks'
    /Library/Ruby/Site/2.0.0/rubygems/installer.rb:213:in <code>install'
    /Library/Ruby/Site/2.0.0/rubygems/request_set.rb:136:in</code>block in
    install' /Library/Ruby/Site/2.0.0/rubygems/request_set.rb:120:in
    <code>each' /Library/Ruby/Site/2.0.0/rubygems/request_set.rb:120:in
    </code>install'
    /Library/Ruby/Site/2.0.0/rubygems/dependency_installer.rb:389:in
    <code>install' mkrf_conf.rb:34:in</code>rescue in  ' mkrf_conf.rb:27:in ` ' rake
    failed, exit code 1 Gem files will remain installed in /Volumes/OSX
    DATA/Users/freakazoid/.gem/ruby/2.0.0/gems/ruby-debug-ide-0.4.22 for
    inspection. Results logged to /Volumes/OSX
    DATA/Users/freakazoid/.gem/ruby/2.0.0/extensions/universal-darwin-13/2.0.0/ruby-debug-ide-0.4.22/gem_make.out
    /Applications/RubyMine.app/rb/gems/debase-0.0.9.gem: Error installing
    debase-0.0.9.gem: ERROR: Failed to build gem native extension.
    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
    extconf.rb
    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby:
    invalid option -D (-h will show valid options) (RuntimeError) extconf
    failed, exit code 1 Gem files will remain installed in /Volumes/OSX
    DATA/Users/freakazoid/.gem/ruby/2.0.0/gems/debase-0.0.9 for
    inspection. Results logged to /Volumes/OSX
    DATA/Users/freakazoid/.gem/ruby/2.0.0/extensions/universal-darwin-13/2.0.0/debase-0.0.9/gem_make.out</p>
  </blockquote>
  
  <p>I can without problems do a </p>
  
  <pre><code>gem install debugger
  </code></pre>
  
  <p>on my osx terminal</p>
  
  <p>Any help out there? </p>