Browse files

Remove unused code

  • Loading branch information...
1 parent ddcf59a commit f1a11ae24dd22565eb5b1a46e2f3b9f170a33ed2 @indirect indirect committed Oct 19, 2010
Showing with 0 additions and 15 deletions.
  1. +0 −15 lib/bundler.rb
View
15 lib/bundler.rb
@@ -261,21 +261,6 @@ def upgrade_lockfile
if lockfile.exist? && lockfile.read(3) == "---"
Bundler.ui.warn "Detected Gemfile.lock generated by 0.9, deleting..."
lockfile.rmtree
- # lock = YAML.load_file(lockfile)
- #
- # source_uris = lock["sources"].map{|s| s["Rubygems"]["uri"] }
- # sources = [Bundler::Source::Rubygems.new({"remotes" => source_uris})]
- #
- # deps = lock["dependencies"].map do |name, opts|
- # version = opts.delete("version")
- # Bundler::Dependency.new(name, version, opts)
- # end
- #
- # definition = Bundler::Definition.new(nil, deps, sources, {})
- #
- # File.open(lockfile, 'w') do |f|
- # f.write definition.to_lock
- # end
end
end

0 comments on commit f1a11ae

Please sign in to comment.