Class: RadiantGo::Installers::Bundler

Inherits:
Object
  • Object
show all
Defined in:
lib/radiant-go/installers/bundler.rb

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Bundler

Returns a new instance of Bundler.



7
8
9
# File 'lib/radiant-go/installers/bundler.rb', line 7

def initialize(name)
  @name = name
end

Instance Method Details

#installObject



11
12
13
14
15
# File 'lib/radiant-go/installers/bundler.rb', line 11

def install
  Dir.chdir(@name) do
    %x[bundle lock;bundle install;bundle unlock]
  end
end