Permalink
Browse files

Remove a dead method

  • Loading branch information...
1 parent 2d3df08 commit 12442adba1e191c112f63bd0e9c8117dab9cedb0 Carl Lerche committed May 5, 2010
Showing with 2 additions and 6 deletions.
  1. +2 −6 lib/bundler/environment.rb
@@ -49,18 +49,14 @@ def specs_for(groups)
# ==== Locking
- def locked?
- File.exist?("#{root}/Gemfile.lock")
- end
-
def write_rb_lock
begin
env_file = Bundler.default_gemfile.dirname.join(".bundle/environment.rb")
env_file.dirname.mkpath
File.open(env_file, 'w') do |f|
f.puts <<-RB
- require "rubygems"
- require "bundler/setup"
+require "rubygems"
+require "bundler/setup"
RB
end
rescue Errno::EACCES

0 comments on commit 12442ad

Please sign in to comment.