Module: GemWrappers
- Defined in:
- lib/gem-wrappers.rb,
lib/gem-wrappers/version.rb,
lib/gem-wrappers/installer.rb,
lib/gem-wrappers/environment.rb,
lib/gem-wrappers/specification.rb
Defined Under Namespace
Modules: Specification
Classes: Environment, Installer
Constant Summary
collapse
- VERSION =
"0.8.0"
Class Method Summary
collapse
Class Method Details
.environment_file ⇒ Object
.install(executables) ⇒ Object
6
7
8
9
10
11
12
13
14
15
16
17
|
# File 'lib/gem-wrappers.rb', line 6
def self.install(executables)
environment = GemWrappers::Environment.new
environment.ensure
wrappers = GemWrappers::Installer.new(environment.file)
wrappers.ensure
executables.each do |executable|
wrappers.install(executable)
end
%w{ruby gem}.each do |executable|
wrappers.install(executable)
end
end
|