Skip to content

Instantly share code, notes, and snippets.

@jmandala
Created March 2, 2012 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmandala/1960973 to your computer and use it in GitHub Desktop.
Save jmandala/1960973 to your computer and use it in GitHub Desktop.
error running simple test for rubymine debug rspec
/home/josh/.rvm/rubies/ruby-1.9.2-p290/bin/ruby -e at_exit{sleep(1)};$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /home/josh/.rvm/gems/ruby-1.9.2-p290@rails-3.1.1/gems/ruby-debug-ide-0.4.17.beta8/bin/rdebug-ide --port 58117 -- /home/josh/.rvm/gems/ruby-1.9.2-p290@rails-3.1.1/bin/rspec /home/josh/honyb/projects/www/honyb_shop/spec/ext/string_spec.rb --require teamcity/spec/runner/formatter/teamcity/formatter --format Spec::Runner::Formatter::TeamcityFormatter
Testing started at 3:11 PM ...
Fast Debugger (ruby-debug-ide 0.4.17.beta8, ruby-debug-base 0.11.30.pre10) listens on 127.0.0.1:58117
No DRb server is running. Running in local process instead ...
[DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attributes.order" is no longer supported
Exception in DebugThread loop: wrong number of arguments (0 for 1)
Backtrace:
/home/josh/.rvm/gems/ruby-1.9.2-p290@rails-3.1.1/gems/ruby-debug19-0.11.6/cli/ruby-debug/interface.rb:163:in `read_command'
from: /home/josh/.rvm/gems/ruby-1.9.2-p290@rails-3.1.1/gems/ruby-debug-ide-0.4.17.beta8/lib/ruby-debug/ide_processor.rb:92:in `process_commands'
from: /home/josh/.rvm/gems/ruby-1.9.2-p290@rails-3.1.1/gems/ruby-debug-ide-0.4.17.beta8/lib/ruby-debug-ide.rb:155:in `block in start_control'
Process finished with exit code 137
@benshine
Copy link

Did you ever find a solution for this?

@jmandala
Copy link
Author

I did.

I made sure that my Gemfile didn't have any debug references. In my .rspec I think I had --debug or something like that that was invoking a dependency on ruby-debug gems. Having removed ALL references rubymine works with debugging.

I can't get debugging + spork to work, though.

@benshine
Copy link

benshine commented Jun 15, 2012 via email

@jmandala
Copy link
Author

jmandala commented Jun 15, 2012 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment