How can I setup node version before bundle command?

Hello, I'm developing a project with Rails in IntelliJ IDEA Ultimet. The project uses Ruby and Node.JS, and nvm is used for Node.JS version control. Node.JS version is selected when I execute "nvm use" command.

How can I set up the Node.JS version for the project when I run rails server command from top-right executor,

If I could execute "nvm use" command just before launching rails server.

I'm using debug function with customized port, no other part was customized.

1 comment

Please sign in to leave a comment.