capistrano-paratrooper-chef 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ Capistrano::Configuration.instance.load do
|
|
20
20
|
required_version = fetch(:chef_version).inspect
|
21
21
|
installed = capture("gem list -i chef -v #{required_version} || true").strip
|
22
22
|
|
23
|
-
if installed
|
23
|
+
if installed != "true"
|
24
24
|
if fetch(:rvm_type, nil) == :user or fetch(:rbenv_path, nil)
|
25
25
|
run "gem uninstall -xaI chef || true"
|
26
26
|
run "gem install chef -v #{fetch(:chef_version).inspect} --quiet --no-ri --no-rdoc"
|