Skip to content

Instantly share code, notes, and snippets.

Avatar

Christopher Rigor crigor

View GitHub Profile
@nevans
nevans / eydeploy.rb
Created Jan 6, 2011
how to use private git repos with bundler at Engine Yard
View eydeploy.rb
# 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