Module: Foobara::FilesGenerator::BundlerActions

Included in:
Foobara::FilesGenerator
Defined in:
foobara-files-generator-0.2.4/src/files_generator/bundler_actions.rb

Instance Method Summary collapse

Instance Method Details

#bundle_install ⇒ Object



6
7
8
9
10
11
12
13
# File 'src/files_generator/bundler_actions.rb', line 6

def bundle_install
  puts "bundling..."
  cmd = "bundle install"

  Bundler.with_unbundled_env do
    run_cmd_and_return_output(cmd)
  end
end