Sha256: 8c58ce1ba21e7100bda90ba481b7eff1a04a7c861aa8b94c56ffeb625d65a3b0
Contents?: true
Size: 374 Bytes
Versions: 8
Compression:
Stored size: 374 Bytes
Contents
require 'blazing/recipe' module Blazing class BundlerRecipe < Blazing::Recipe def initialize(name, options = {}) options[:flags] ||= '--deployment' super(name, options) end def run if File.exists?(File.join(Dir.pwd, 'Gemfile')) @runner.run "bundle install #{@options[:flags]}" else false end end end end
Version data entries
8 entries across 8 versions & 1 rubygems