Module: Bundler
- Defined in:
- lib/gel/compatibility/bundler.rb
Defined Under Namespace
Modules: Rubygems
Classes: LockfileParser
Class Method Summary
collapse
Class Method Details
.default_lockfile ⇒ Object
.require(*groups) ⇒ Object
.rubygems ⇒ Object
33
34
35
|
# File 'lib/gel/compatibility/bundler.rb', line 33
def self.rubygems
Rubygems
end
|
.settings ⇒ Object
47
48
49
50
51
52
53
|
# File 'lib/gel/compatibility/bundler.rb', line 47
def self.settings
if gemfile = Gel::Environment.gemfile
{ "gemfile" => gemfile.filename }
else
{}
end
end
|
.setup ⇒ Object
4
5
6
|
# File 'lib/gel/compatibility/bundler.rb', line 4
def self.setup
Gel::Environment.activate(output: $stderr)
end
|
.with_clean_env ⇒ Object
42
43
44
45
|
# File 'lib/gel/compatibility/bundler.rb', line 42
def self.with_clean_env
yield
end
|
.with_friendly_errors ⇒ Object
1
2
3
|
# File 'lib/gel/compatibility/bundler/friendly_errors.rb', line 1
def Bundler.with_friendly_errors
yield
end
|
.with_original_env ⇒ Object
37
38
39
40
|
# File 'lib/gel/compatibility/bundler.rb', line 37
def self.with_original_env
yield
end
|