passing ruby interpreter parameters when debugging

I am using rubymine on a ruby app, that has all sources in ./lib

To run my tests I added -I../lib to the ruby interpreter parameters, and everything works fine.
But when I debug it seems that the ruby interpreter parameters arent used and all my files in ./lib are not found.

Is that a bug, or am I doing something wrong?

-chris

2 comments
Comment actions Permalink

Hello Chris,

I am using rubymine on a ruby app, that has all sources in ./lib

To run my tests I added -I../lib to the ruby interpreter parameters, and everything works fine.
But when I debug it seems that the ruby interpreter parameters arent used and all my files in ./lib are not found.

Is that a bug, or am I doing something wrong?


Actually run and debug actions use the same configuration and should the same interperter parameters.
I`ve created an issue in our bugtracker: http://www.jetbrains.net/jira/browse/RUBY-2306
Feel free to vote, comment and track progress of it.

Thanks,
Oleg

0
Comment actions Permalink

Fix will be available in coming RubyMine EAP.

Thanks,
Oleg

0

Please sign in to leave a comment.