Skip to content

Instantly share code, notes, and snippets.

View crigor's full-sized avatar

Christopher Rigor crigor

View GitHub Profile
@nevans
nevans / eydeploy.rb
Created January 6, 2011 15:36
how to use private git repos with bundler at Engine Yard
# put this into your config/eydeploy.rb
def bundle
if File.exist?("#{c.release_path}/Gemfile")
info "~> Gemfile detected, bundling gems"
lockfile = File.join(c.release_path, "Gemfile.lock")
bundler_installer = if File.exist?(lockfile)
get_bundler_installer(lockfile)
else
warn_about_missing_lockfile