Need help to setup appium in RubyMine

I have some automation tests authored using appium. I am using cucumber on top of my tests. So we have feature files and step definition files. The tests run fine from terminal using ‘node .’ command, followed by “cucumber” command.

Instead I would like to use the debugger in RubyMine IDE - in order to easily run and debug the tests. But I have some trouble setting up my RubyMine configuration to do this.

Here is how the configuration file looks like in RubyMine.

But it is not working. I am getting the following error about appium.lib

Can someone help with this configuration issue ?

Thanks.