Skip to content

Instantly share code, notes, and snippets.

@ches
Created November 16, 2011 10:41
Show Gist options
  • Save ches/1369794 to your computer and use it in GitHub Desktop.
Save ches/1369794 to your computer and use it in GitHub Desktop.
Extend `bundle --without` groups on Engine Yard deploy.
# This monkeypatches engineyard-serverside to specify `--without` options for
# `bundle install` on Engine Yard deployment. It supercedes the instructions in
# this doc, which are currently outdated:
#
# http://docs.engineyard.com/bundler-tips-for-cloud.html
#
# More helpful is this one, which leads us to where the code can be found to
# override:
#
# http://docs.engineyard.com/customize-your-deployment.html#second
#
class ::EY::Serverside::Deploy::Configuration
def bundle_without
'development test mac'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment