Sha256: 860ca85cb66a33febd34c227f41b1e1fcfa6f202e8fb99e9ee2fe7bf5dfb08ec
Contents?: true
Size: 693 Bytes
Versions: 10
Compression:
Stored size: 693 Bytes
Contents
require 'bundler' module Ikazuchi class Definition def root @root ||= File.expand_path '../../../', __FILE__ end def gemfile @gemfile ||= File.expand_path '../Gemfile', __FILE__ end def definition @definition ||= ::Bundler::Definition.build gemfile, nil, nil end def runtime @runtime ||= ::Bundler::Runtime.new root, definition end def dependencies definition.dependencies end def require!(*groups) runtime.require(*groups) end class << self def require!(*groups) self.new.require!(*groups) end def dependencies self.new.dependencies end end end end
Version data entries
10 entries across 10 versions & 1 rubygems