add comments

Signed-off-by: default avatarLamont Granquist <lamont@scriptkiddie.org>
parent 38242dd9
......@@ -389,8 +389,15 @@ module Omnibus
end
command = [ appbundler_bin, "'#{lockdir}'", "'#{bin_dir}'" ]
# This option is almost entirely for support of ChefDK and enables transitive gemfile lock construction in order
# to be able to decouple the dev gems for all the different components of ChefDK. AKA: don't use it outside of
# ChefDK. You should also explicitly specify the lockdir when going down this road.
command << [ "'#{gem}'" ] if gem
# FIXME: appbundler lacks support for this argument when not also specifying the gem (3-arg appbundling lacks support)
# (if you really need this bug fixed, though, fix it in appbundler, don't try using the 4-arg version to try to
# get `--without` support, you will likely wind up going down a sad path).
command << [ "--without", without.join(",") ] unless without.nil?
# Ensure the main bin dir exists
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment