lib/vulcan/cli.rb in vulcan-0.1.6 vs lib/vulcan/cli.rb in vulcan-0.2.0
- old
+ new
@@ -64,10 +64,12 @@
puts ex.inspect
end
end
end
end
+ rescue Interrupt
+ error "Aborted by user"
rescue Errno::EPIPE
error "Could not connect to build server: #{server}"
end
desc "create APP_NAME", <<-DESC
@@ -133,9 +135,10 @@
system "git add . >/dev/null"
system "git commit -m commit >/dev/null"
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} 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
end