Permalink
Browse files

Added a not good enough bundle install method

  • Loading branch information...
1 parent b58ae4d commit 4fcb9e3e70a18f349c47321bfbc214b92e4e9a8d @rbgrouleff committed Sep 27, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/wheelbarrow/wagonload.rb
@@ -13,6 +13,14 @@ def pull
end
end
+ def bundle_install
+ Dir.chdir @deployment_dir do
+ # TODO Please make this better!
+ puts `bundle install && rbenv rehash`
+ raise "Bundle install failed" unless $?.exitstatus == 0
+ end
+ end
+
# rake db:migrate
def run_migrations
Dir.chdir @deployment_dir do

0 comments on commit 4fcb9e3

Please sign in to comment.