lib/bundler/definition.rb in bundler-0.9.18 vs lib/bundler/definition.rb in bundler-0.9.19
- old
+ new
@@ -15,10 +15,10 @@
def self.from_lock(lockfile)
locked_definition = Locked.new(YAML.load_file(lockfile))
hash = Digest::SHA1.hexdigest(File.read("#{Bundler.root}/Gemfile"))
unless locked_definition.hash == hash
- raise GemfileError, "You changed your Gemfile after locking. Please relock using `bundle lock`"
+ raise GemfileChanged, "You changed your Gemfile after locking. Please relock using `bundle lock`"
end
locked_definition
end