apps/servant/lib/commands_processor.rb in spiderfw-0.6.9 vs apps/servant/lib/commands_processor.rb in spiderfw-0.6.10
- old
+ new
@@ -88,10 +88,10 @@
def install_gems(gems)
inst = Gem::DependencyInstaller.new
installed = []
gems.each do |g|
v = g['version'] || Gem::Requirement.default
- unless Gem.available?(g['name'], v)
+ unless Spider.gem_available?(g['name'], v)
inst.install g['name'], v
installed << g
end
end
\ No newline at end of file