Run configuration: ruby script not found

Hello! I want create a launch configuration for rack-configured sinatra application to run via shotgun: Run/Debug Configruations -> New -> Ruby. And when I write shotgun in 'Ruby Script:' I see a configuration error 'script doesn't existr' . Although gem is installed and working fine.
And do I need to specify a working directory? Or it will be project's directory by default?

3 comments

Hi,

I think you need to specify full path of the binary you want to use, and I'd suggest explicitly specify working directory.

Hope this helps, Oleg.

0

I see... and in the same time this is not a per-projet settings, isn't it?

0

Sorry for late reply (missed the notification :(

Run configurations are local to project. Which settings you meant?

Regards, Oleg.

0

Please sign in to leave a comment.