Sha256: eb0a6bc1694af8cdeebd3f1ed2f0d613ad1c73d6feddd35d879307c21c868bec
Contents?: true
Size: 714 Bytes
Versions: 6
Compression:
Stored size: 714 Bytes
Contents
module DaemonKit module Generators class RuoteGenerator < Base def update_gemfile append_file 'Gemfile', "\n# Only needed if running the AMQP participant/listener pair\n" append_file 'Gemfile', "gem 'amqp'\n" append_file 'Gemfile', "# Can be replaced with json_pure\n" append_file 'Gemfile', "gem 'json'\n" end def create_configs directory 'config' end def create_lib directory 'lib', nil, :force => true end def create_daemon directory 'libexec' end protected def self.source_root File.expand_path( File.join( File.dirname(__FILE__), 'templates') ) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems