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.

请先登录再写评论。
Hello,
you can configure the Before launch task (https://www.jetbrains.com/help/ruby/run-debug-configuration.html#before_launch) and specify there another Run configuration or External tool (https://www.jetbrains.com/help/ruby/configuring-third-party-tools.html)