Sha256: fe0b2df8cc94ca40f17c377cfc65d8d8fbf9b8447131001accead1994ca25a21
Contents?: true
Size: 409 Bytes
Versions: 3
Compression:
Stored size: 409 Bytes
Contents
require "rails/generators" module Suspenders class DecoratorGenerator < Rails::Generators::Base source_root File.expand_path( File.join("..", "..", "..", "templates"), File.dirname(__FILE__), ) def add_draper_gem gem "draper" Bundler.with_clean_env { run "bundle install" } end def configure_draper generate "draper:install", "--force" end end end
Version data entries
3 entries across 3 versions & 1 rubygems