class Bundler::Definition
def self.build(gemfile, lockfile, unlock)
-
(Bundler::Definition)
-
Parameters:
-
unlock
(Hash, Boolean, nil
) -- Gems that have been requested -
lockfile
(Pathname, nil
) -- Path to Gemfile.lock -
gemfile
(Pathname
) -- Path to Gemfile
def self.build(gemfile, lockfile, unlock) unlock ||= {} gemfile = Pathname.new(gemfile).expand_path unless gemfile.file? raise GemfileNotFound, "#{gemfile} not found" end Dsl.evaluate(gemfile, lockfile, unlock) end