lib/tmbundle.rb in tmbundle-manager-0.1.0.pre4 vs lib/tmbundle.rb in tmbundle-manager-0.1.0.pre5
- old
+ new
@@ -47,9 +47,10 @@
puts "Errored (#{errored.size})\n- #{errored.map(&:name).join("\n- ")}\n\n" if errored.any?
end
desc 'install USER/BUNDLE', 'Install a bundle from GitHub (e.g. tmb install elia/bundler)'
def install name
+ require 'tmbundle/bundle_name'
name = BundleName.new(name)
install_path = bundles_dir.join(name.install_name).to_s
system('git', 'clone', name.git_url, install_path)
end