lib/bundler.rb in bundler-1.0.2 vs lib/bundler.rb in bundler-1.0.3
- old
+ new
@@ -210,10 +210,10 @@
def sudo(str)
`sudo -p 'Enter your password to install the bundled RubyGems to your system: ' #{str}`
end
def read_file(file)
- File.open(file, "rb") { |file| file.read }
+ File.open(file, "rb") { |f| f.read }
end
def load_gemspec(file)
path = Pathname.new(file)
# Eval the gemspec from its parent directory