cannot debug rspec : Empty test suite

Hi,

I rarely use the debugger, but when I do, it fails.

This happens with a Configuration that works fine in normal/run mode :
* the stack trace :  http://pastebin.com/raw.php?i=8hHvemr4
* the configuration : http://imgur.com/MPTupDZ
* Bundle Exec is used;
* spring is not running in the background


I know Ruby and the debugger have a flaky relationship, but as RM doesn't tell me it does not work, it should work.

Any tip/idea/andswer would be greatly appreciated.

Alain

0
7 comments
Avatar
Permanently deleted user

Hi,

it looks like a bug for me (some conflict with psych library)
I've seen similar reports several times but was unable to reproduce it :(
Is it possible to provide a small test project which reproduces it for you?

Regards, Oleg.

0
Avatar
Permanently deleted user

Oleg,

I can't share the project,
but here is
* Gemfile : http://pastebin.com/raw.php?i=wWneMp18
* Gemfile.lock : http://pastebin.com/raw.php?i=Vk0tqZax

Alain

0
Avatar
Permanently deleted user

Unfortunately this doesn't help :(
How do you run rspec tests in RubyMine (rake, particular spec file, all specs in directory)?
Does the problem exist if you will just run them (not debug) in RubyMine?
Also I'd check if unchecking "use bundler context" will change anyting.

Regards, Oleg.

0
Avatar
Permanently deleted user

Oleg,

  > How do you run rspec tests in RubyMine (rake, particular spec file, all specs in directory)?
  > Does the problem exist if you will just run them (not debug) in RubyMine?

see the OP / http://imgur.com/MPTupDZ


disabling 'bundle exec' didn't help

Alain
0
Avatar
Permanently deleted user

What about running the run configuration instead of debugging it?  Does it works correctly?

Regards, Oleg.

0
Avatar
Permanently deleted user

> What about running the run configuration instead of debugging it?  Does it works correctly?


Yes. (see OP)

Alain
0
Avatar
Permanently deleted user

As soon as I will have a test project which reproduces the problem I will be able to work on the problem.

Oleg.

0

Please sign in to leave a comment.