Class: RadiantGo::Installers::Bundler
- Inherits:
-
Object
- Object
- RadiantGo::Installers::Bundler
- Defined in:
- lib/radiant-go/installers/bundler.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ Bundler
constructor
A new instance of Bundler.
- #install ⇒ Object
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
#install ⇒ Object
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 |