lib/developmentkit/tool.rb in developmentkit-0.1.1 vs lib/developmentkit/tool.rb in developmentkit-0.1.2
- old
+ new
@@ -5,10 +5,10 @@
puts " *** Bundle Command ***"
puts "bundle update #{dependencies_map}"
end
def dependencies_map
- spec = Gem::Specification.load 'developmentkit.gemspec'
+ puts spec = Gem::Specification.find_by_name('developmentkit')
spec.runtime_dependencies.map(&:name).join(' ')
end
end
end
end