Add the following gems to your Gemfile
:
gem 'activeresource'
gem 'newrelic_api'
Update your bundle:
require 'jira' | |
username = "login" | |
password = "password" | |
projectkey = "PRO" | |
options = { | |
:username => username, | |
:password => password, | |
:site => 'url', |
require 'rubygems' | |
require 'daemons' | |
file = '' # the absolute script path | |
pwd = Dir.pwd | |
Daemons.run_proc( | |
'newrelic_logwatcher_agent', # name of daemon | |
# :dir_mode => :normal | |
# :dir => File.join(pwd, 'tmp/pids'), # directory where pid file will be stored | |
# :backtrace => true, |