Skip to content

Commit

Permalink
fix(gem): install only production deps by default
Browse files Browse the repository at this point in the history
  • Loading branch information
xizhao committed Jan 23, 2018
1 parent aa4ba7d commit 9f47778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/gem.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (ctx *GemContext) Build(p *Module, opts map[string]interface{}) error {
if ctx.isBundlerSatisfied == false {
log.Logger.Debug("bundler not satisfied, running full install")
// bundle install, no flags as we need to satisfy all reqs
exec.Command(ctx.BundlerCmd, "install").Output()
exec.Command(ctx.BundlerCmd, "install", "--deployment").Output()
}

outBundleListCmd, err := exec.Command(ctx.BundlerCmd, "list").Output()
Expand Down

0 comments on commit 9f47778

Please sign in to comment.