lib/vendorise/tasks.rb in vendorise-0.1.0 vs lib/vendorise/tasks.rb in vendorise-0.1.1

- old
+ new

@@ -6,8 +6,8 @@ task :gem, :url do |t, args| url = Vendorise::Parser.gem_url(args[:url]) or raise "Please specify a valid url for the gem" path = "vendor/gems/#{Vendorise::Parser.gem_name(args[:url])}" cmd = Dir.exist?(path) ? "pull" : "add" - puts `git subtree #{cmd} --prefix #{path} #{url} master --squash` + system("git subtree #{cmd} --prefix #{path} #{url} master --squash") end end