require 'rails/generators' module Crumbs module Generators class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def create_configuration_file copy_file 'configuration.rb', 'config/crumbs.rb' end end end end