Sha256: bfd11cfa446f12abe8cedf4cf9dde8b03645f1d520291b385af4ac4d9348a63e
Contents?: true
Size: 478 Bytes
Versions: 5
Compression:
Stored size: 478 Bytes
Contents
require 'rails/generators' module ExceptionTrack module Generators class InstallGenerator < Rails::Generators::Base desc "Create ExceptionTrack's base files" source_root File.expand_path('../../../../', __FILE__) def add_initializer template 'config/initializers/exception-track.rb', 'config/initializers/exception-track.rb' end def add_migrations exec('rake exception_track:install:migrations') end end end end
Version data entries
5 entries across 5 versions & 1 rubygems