0

Debugging problem in RubyMine 6.3

Hi,

I tried debugging a RoR app with RubyMine 6.3 on Mac OS X (Mavericks) with Ruby 2.0.0.

Unfortunately, when I start my debugging environment, I get this error message from RubyMine:

Error running Development: Ballyhoo
            Failed to Install Gems. Following gems were not installed:
            /Applications/RubyMine.app/rb/gems/debase-0.0.9.gem:  While executing gem ... (Errno::EACCES)
            Permission denied - /Users/lpcarignan/.gem/ruby/2.0.0/extensions/universal-darwin-13 Building native extensions.  This could take a while...

As RubyMine couldn't install debase, I tried to install it manually in /Applications/RubyMine/rb/gems. It installed without any problems.

Then, when I run the debugger again, I get this error message:

usr/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/lpcarignan/.gem/ruby/2.0.0/gems/ruby-debug-ide-0.4.23.beta1/bin/rdebug-ide --disable-int-handler --port 56037 --dispatcher-port 56038 -- /Users/lpcarignan/RubymineProjects/Ballyhoo/bin/rails server -b 0.0.0.0 -p 3000 -e development
/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- debase_internals (LoadError)
 from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
 from /Users/lpcarignan/.gem/ruby/2.0.0/gems/debase-0.0.9/lib/debase.rb:4:in `<top (required)>'
 from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
 from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
 from /Users/lpcarignan/.gem/ruby/2.0.0/gems/ruby-debug-ide-0.4.23.beta1/lib/ruby-debug-ide.rb:8:in `<top (required)>'
 from /Users/lpcarignan/.gem/ruby/2.0.0/gems/ruby-debug-ide-0.4.23.beta1/bin/rdebug-ide:8:in `require_relative'
 from /Users/lpcarignan/.gem/ruby/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>'

Would somebody have an idea on what I should do to fix this?

Debugger problems seem to be a recurring theme with RubyMine:



Thanks,

Louis-Philippe

4 comments

Please sign in to leave a comment.