heroku / heroku-apps

Heroku Core CLI Plugin for managing Heroku apps
https://cli.heroku.com
ISC License
19 stars 26 forks source link

About deply rails and modify nodejs version #199

Closed unixc3t closed 7 years ago

unixc3t commented 7 years ago

my rails app use the javascript es6 syntax, i found default install nodejs v6 ,

I saw your doc , the url is https://devcenter.heroku.com/articles/ruby-support#installed-binaries


Once you have done this you’ll need a package.json file in the root of your app. For example to install version 6.2.2 your package.json could look like this: { "engines" : { "node": "6.2.2" } }

Commit to git:

$ git add pacakage.json

$ git commit -m 'specify node version'

Now the next time you deploy your Ruby application will use Node version 6.2.2.


I modiy package.json file with

{ "name": "shopa", "private": true, "dependencies": {}, "engines": { "node": "8.5.0" } }

but i push it , it still nodejs v6

because I am a free user? I can't modify nodejs version?

jdx commented 7 years ago

you should submit a support ticket, this is a project for the Heroku CLI only