Skip to content

Instantly share code, notes, and snippets.

@GarthDB
Created February 21, 2012 04:27
Show Gist options
  • Save GarthDB/1873669 to your computer and use it in GitHub Desktop.
Save GarthDB/1873669 to your computer and use it in GitHub Desktop.
Use latest stable version of NodeJS on Heroku
$ git clone https://github.com/[your github username]/heroku-buildpack-nodejs.git
$ heroku create --stack cedar --buildpack http://github.com/[your github username]/heroku-buildpack-nodejs.git
$ cd heroku-buildpack-nodejs
$ mate bin/compile
$ git commit -am 'updated bin/compile with latest stable versions of NPM and Node'
$ git push origin master
# config
NODE_VERSION="0.6.10"
NPM_VERSION="1.1.1"
SCONS_VERSION="1.2.0"
S3_BUCKET="heroku-buildpack-nodejs"
# config
NODE_VERSION="0.4.7"
NPM_VERSION="1.0.94"
SCONS_VERSION="1.2.0"
S3_BUCKET="heroku-buildpack-nodejs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment