Skip to content

Commit

Permalink
* fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
dudemeister committed May 8, 2012
1 parent 7e32545 commit bcae4e8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions bundler.rb
Expand Up @@ -27,13 +27,15 @@
dep 'app bundled' do
requires 'deployed app', 'bundler.gem', 'db gem'
met? { cd(var(:rails_root)) { shell 'bundle check', :log => true } }
meet { cd(var(:rails_root)) {
install_args = var(:rails_env) != 'production' ? '' : "--deployment --without 'development test'"
unless shell("bundle install #{install_args}", :log => true)
confirm("Try a `bundle update`") {
shell 'bundle update', :log => true
}
end
meet {
cd(var(:rails_root)) {
install_args = var(:rails_env) != 'production' ? '' : "--deployment --without 'development test'"
unless shell("bundle install #{install_args}", :log => true)
confirm("Try a `bundle update`") {
shell 'bundle update', :log => true
}
end
}
}
end

Expand Down

0 comments on commit bcae4e8

Please sign in to comment.