Module: AgapeRedRecipes::Bundler

Included in:
RecipeGenerator
Defined in:
lib/agape-red-recipes/modules/bundler.rb

Instance Method Summary collapse

Instance Method Details

#bundle(command = nil) ⇒ Object

Generic bundle command Defaults to “install”



5
6
7
8
9
10
# File 'lib/agape-red-recipes/modules/bundler.rb', line 5

def bundle(command = nil)
  command ||= "install"
  ::Bundler.with_clean_env do
    run "bundle #{command}"
  end
end