Sha256: 3f375c62ffc7e327cbd9df8f4a8ece84d431549f9dbaf8158c0da0128da1131a

Contents?: true

Size: 331 Bytes

Versions: 5

Compression:

Stored size: 331 Bytes

Contents

module Cream
  module GeneratorHelper
    module Executor
      # rails generate ...
      def rgen command
        execute "rails g #{command}"
      end        

      def execute command
        logger.debug command
        run command
      end

      def bundle_install
        run "bundle install"
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cream-0.8.9.2 lib/generators/cream/helpers/execute_helper.rb
cream-0.8.9.1 lib/generators/cream/helpers/execute_helper.rb
cream-0.8.9 lib/generators/cream/helpers/execute_helper.rb
cream-0.8.8 lib/generators/cream/helpers/execute_helper.rb
cream-0.8.7 lib/generators/cream/helpers/execute_helper.rb