lib/deploy-context/deploy/ruby.rb in deploy-context-2.1.0 vs lib/deploy-context/deploy/ruby.rb in deploy-context-2.1.0.1.gfc552cd
- old
+ new
@@ -40,10 +40,10 @@
# sleep(60)
end
def gem_installed?(context)
installed_version = Gem::Specification.find_by_name(context.context_name).version
- puts "Compare #{context.context_name} installed_version #{installed_version} with #{context.version}"
+ puts "Compare #{context.context_name} installed_version #{installed_version.class} with #{context.version.class}"
installed_version == context.version
end
def ruby_cycle(context)
if context.new_update_available?