Sha256: 874eb5a4b58e4ab1768678115fa4249dc7e34b272d5bfefe267f3985e4a3481b
Contents?: true
Size: 528 Bytes
Versions: 10
Compression:
Stored size: 528 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_initializer.rb'), "#{RAILS_ROOT}/config/initializers/papermill.rb" ) puts "Done! Check config/initializer/papermill.rb for result." exit end end
Version data entries
10 entries across 10 versions & 1 rubygems