Cannot specify node_js version for ruby project on OSX

Recently added OSX support for the ruby repository

But this project also require nodejs (it called from ruby side via simple system call)
And faced with a problem that node --version for linux return 8.x version but for OSX it return 6.x

  • Is this issue or there is no guarantee that for language: ruby project node_js: “8” will specify this version of node
  • Maybe there is some workaround exists?


BTW travis lint return

Warnings for .travis.yml:
[x] specified node_js, but setting is not relevant for ruby

Use nvm to manage Node.js versions on non-Node.js jobs; e.g.,

  - nvm install 8