Skip to content

Instantly share code, notes, and snippets.

@hiroshi

hiroshi/Rakefile

Created Apr 11, 2013
Embed
What would you like to do?
heroku/ruby で bower install する hack ref: http://qiita.com/items/a8a01d6d69b99a9bb162
task "assets:precompile" do
`(cd /tmp && curl -O https://heroku-buildpack-nodejs.s3.amazonaws.com/nodejs-0.8.19.tgz)`
`(mkdir -p bin/nodejs && cd bin/nodejs && tar xzf /tmp/nodejs-0.8.19.tgz)`
`(cd bin && ln -s nodejs/bin/node node)`
`node bin/nodejs/bin/npm install`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment