Method: BundlerExt.system_require
- Defined in:
- lib/bundler_ext.rb
.system_require(gemfile, *groups) ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/bundler_ext.rb', line 11 def self.system_require(gemfile, *groups) runtime.setup_env Gemfile.parse(gemfile, *groups).each do |name, gem_dep| if System.activate? System.activate!(name) end runtime.system_require(gem_dep[:files]) end end |