Method: Fanforce::CLI::Run.bundle_install

Defined in:
lib/fanforce/cli/run.rb

.bundle_install(dir) ⇒ Object



4
5
6
7
8
9
# File 'lib/fanforce/cli/run.rb', line 4

def self.bundle_install(dir)
  Dir.chdir(dir) do
    command('gem install bundler') if Gem::Specification::find_all_by_name('bundler').empty?
    command('bundle install')
  end
end