Sha256: eae31167ede0c00280888ba3de42f96fc67057ca2bc211dd83993acf833ac266
Contents?: true
Size: 524 Bytes
Versions: 15
Compression:
Stored size: 524 Bytes
Contents
class PapermillInitializerGenerator < Rails::Generator::Base def initialize(args, options = {}) end def manifest puts "Copying papermill initializer to config/initializers/..." FileUtils.rm_rf("#{RAILS_ROOT}/config/initializers/papermill.rb") FileUtils.cp_r( File.join(File.dirname(__FILE__), '../..', 'lib', 'papermill', 'papermill_options.rb'), "#{RAILS_ROOT}/config/initializers/papermill.rb" ) puts "Done! Check config/initializer/papermill.rb for result." exit end end
Version data entries
15 entries across 15 versions & 1 rubygems