Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
use native buildpack for vulcan server
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Mar 5, 2012
1 parent 932e282 commit 911d8db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion bin/vulcan
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/env ruby

$:.unshift File.expand_path("../../lib", __FILE__)

require "net/http/post/multipart"
require "tmpdir"
require "uri"
require File.expand_path("#{File.dirname(__FILE__)}/../lib/vulcan/cli")
require "vulcan/cli"

Vulcan::CLI.start

2 changes: 1 addition & 1 deletion lib/vulcan/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def update
file.puts "node_modules"
end

%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 config:remove BUILDPACK_URL 2>&1 }

system "git add . >/dev/null"
system "git commit -m commit >/dev/null"
Expand Down
3 changes: 1 addition & 2 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"restler"
],
"engines": {
"node": ">=0.4.7 <0.6.0",
"npm": ">=1.0.0"
"node": "0.6.x"
}
}

0 comments on commit 911d8db

Please sign in to comment.