Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (19 sloc) 0.59 kB
dep 'app bundled', :root, :env do
requires_when_unmet Dep('current dir:packages')
met? {
if !(root / 'Gemfile').exists?
log "No Gemfile - skipping bundling."
true
else
shell? 'bundle check', :cd => root, :log => true
end
}
meet {
install_args = %w[development test].include?(env) ? '' : "--deployment --without 'development test'"
unless shell("bundle install #{install_args}", :cd => root, :log => true)
confirm("Try a `bundle update`", :default => 'n') {
shell 'bundle update', :cd => root, :log => true
}
end
}
end
Jump to Line
Something went wrong with that request. Please try again.