Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

move buildpack_url up higher so it gets set before code is pushed

  • Loading branch information...
commit ffaa270bcb48f7d66e28fcd0cc6a77727add983a 1 parent 9b24272
@ddollar ddollar authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/vulcan/cli.rb
View
3  lib/vulcan/cli.rb
@@ -128,6 +128,8 @@ def index
api_key = %x{ env BUNDLE_GEMFILE= heroku credentials 2>&1 }.chomp
error "invalid api key detected, try running `heroku credentials`" if api_key =~ / /
+ %x{ env BUNDLE_GEMFILE= heroku config:add BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-nodejs.git#versions 2>&1 }
+
system "git init"
system "git remote add heroku git@heroku.com:#{config[:app]}.git"
FileUtils.cp_r "#{server_path}/.", "."
@@ -140,7 +142,6 @@ def index
system "git push heroku -f master"
%x{ env BUNDLE_GEMFILE= heroku config:add SECRET=#{config[:secret]} SPAWN_ENV=heroku HEROKU_APP=#{config[:app]} HEROKU_API_KEY=#{api_key} NODE_PATH=lib 2>&1 }
- %x{ env BUNDLE_GEMFILE= heroku config:add BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-nodejs.git#versions 2>&1 }
%x{ env BUNDLE_GEMFILE= heroku addons:add cloudant:oxygen }
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.