kennethkalmer/daemon-kit

View on GitHub
lib/generators/daemon_kit/ruote/templates/config/pre-daemonize/ruote.rb

Summary

Maintainability
A
0 mins
Test Coverage
begin
  require 'json'
rescue LoadError
  $stderr.puts "Missing json gem. Please run 'bundle install'"
  exit 1
end

begin
  require 'amqp'
rescue LoadError
  $stderr.puts "Missing amqp gem. Please uncomment the amqp section in the Gemfile and run 'bundle install' if you wish to use the AMQP participant/listener pair in ruote"
end