-
-
Save wuputah/508998 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in ey-deploy 1.1.0, we just need to add without clauses | |
def get_bundler_installer(*) | |
installer = super | |
installer.options << " --without cucumber test development" | |
installer | |
end | |
# - alternative method - override bundle and exec the install ourselves. | |
# def bundle | |
# info "~> Bundling gems" | |
# lockfile = File.join(config.release_path, "Gemfile.lock") | |
# bundler_version = LockfileParser.new(File.read(lockfile)).bundler_version | |
# | |
# sudo "#{$0} _#{VERSION}_ install_bundler #{bundler_version}" | |
# run "cd #{config.release_path} && bundle _#{bundler_version}_ install " + | |
# "--deployment " + | |
# "--path #{config.shared_path}/bundled_gems " + | |
# "--without development --without test --without cucumber" | |
# end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment