Method: Bundler::Definition#check!

Defined in:
lib/bundler/definition.rb

#check!Object

[View source]

171
172
173
174
175
176
177
178
179
180
181
# File 'lib/bundler/definition.rb', line 171

def check!
  # If dependencies have changed, we need to resolve remotely. Otherwise,
  # since we'll be resolving with a single local source, we may end up
  # locking gems under the wrong source in the lockfile, and missing lockfile
  # checksums
  resolve_remotely! if @dependency_changes

  # Now do a local only resolve, to verify if any gems are missing locally
  sources.local_only!
  resolve
end