<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -23,7 +23,9 @@ spec = Gem::Specification.new do |s|
   s.homepage = HOMEPAGE
   s.require_path = 'lib'
   s.files = %w(install.rb LICENSE README newrelic.yml Rakefile) + Dir.glob(&quot;{lib,bin,recipes,test,ui}/**/*&quot;) 
-  
+  s.bindir = &quot;bin&quot; # Use these for applications.
+  s.executables = [&quot;newrelic_cmd&quot;]
+  s.default_executable = &quot;newrelic_cmd&quot;
 end
 
 Rake::GemPackageTask.new(spec) do |pkg|</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -51,7 +51,7 @@ module NewRelic
             end
           end
         else
-          # parse command line args
+          # parse command line args.  Throw an exception on a bad arg.
           @description = options.parse(command_line_args).join &quot; &quot;
         end
         config.env = @environment if @environment</diff>
      <filename>lib/new_relic/commands/deployments.rb</filename>
    </modified>
    <modified>
      <diff>@@ -54,7 +54,7 @@ module NewRelic
     end
     
     def settings
-      @settings ||= @yaml[env] || {}
+      @settings ||= (@yaml &amp;&amp; @yaml[env]) || {}
     end
     
     def []=(key, value)
@@ -170,7 +170,7 @@ module NewRelic
     # This will NOT print anything if the environment is unknown because this is
     # probably not an environment the agent will be running in.
     def log!(msg, level=:info)
-      return if settings &amp;&amp; !tracers_enabled?
+      return if !tracers_enabled?
       to_stderr msg
       log.send level, msg if log
     end
@@ -238,6 +238,7 @@ module NewRelic
         yml_file = File.expand_path(File.join(__FILE__,&quot;..&quot;,&quot;..&quot;,&quot;..&quot;,&quot;newrelic.yml&quot;))
         yaml = ::ERB.new(File.read(yml_file)).result(binding)
         log! &quot;Cannot find newrelic.yml file at #{config_file}.&quot;
+        log! &quot;Be sure to run this from the app root dir.&quot;
         log! &quot;Using #{yml_file} file.&quot;
         log! &quot;Signup at rpm.newrelic.com to get a newrelic.yml file configured for a free Lite account.&quot;
       else</diff>
      <filename>lib/new_relic/config.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,12 +6,16 @@ module NewRelic
   TINY  = 1
   STRING = [MAJOR, MINOR, TINY].join('.')
   def self.changes
-    puts &quot;NewRelic RPM Plugin Version: #{NewRelic::VERSION}&quot;
+    puts &quot;NewRelic RPM Plugin Version: #{NewRelic::VERSION::STRING}&quot;
     puts CHANGELOG
   end
 
   CHANGELOG = &lt;&lt;EOF
-2009-XXXXX version 2.8.1
+
+2009-01-27 version 2.8.1
+  * Convert the deployment information upload script to an executable
+    and put in the bin directory.  When installed as a gem this command
+    is symlinked to /usr/bin.  Usage: newrelic_cmd deployments --help
   * Fix issue invoking api when host is not set in newrelic.yml
   * Fix deployments api so it will work from a gem
 2008-12-18 version 2.8.0</diff>
      <filename>lib/new_relic/version.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,9 +6,11 @@ Gem::Specification.new do |s|
 
   s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 0&quot;) if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Bill Kayser&quot;]
-  s.date = %q{2009-01-23}
+  s.date = %q{2009-01-27}
+  s.default_executable = %q{newrelic_cmd}
   s.description = %q{New Relic Ruby Performance Monitoring Agent}
   s.email = %q{bkayser@newrelic.com}
+  s.executables = [&quot;newrelic_cmd&quot;]
   s.extra_rdoc_files = [&quot;README&quot;, &quot;LICENSE&quot;]
   s.files = [&quot;install.rb&quot;, &quot;LICENSE&quot;, &quot;README&quot;, &quot;newrelic.yml&quot;, &quot;Rakefile&quot;, &quot;lib/new_relic&quot;, &quot;lib/new_relic/agent&quot;, &quot;lib/new_relic/agent/agent.rb&quot;, &quot;lib/new_relic/agent/chained_call.rb&quot;, &quot;lib/new_relic/agent/collection_helper.rb&quot;, &quot;lib/new_relic/agent/error_collector.rb&quot;, &quot;lib/new_relic/agent/instrumentation&quot;, &quot;lib/new_relic/agent/instrumentation/active_record_instrumentation.rb&quot;, &quot;lib/new_relic/agent/instrumentation/controller_instrumentation.rb&quot;, &quot;lib/new_relic/agent/instrumentation/data_mapper.rb&quot;, &quot;lib/new_relic/agent/instrumentation/dispatcher_instrumentation.rb&quot;, &quot;lib/new_relic/agent/instrumentation/memcache.rb&quot;, &quot;lib/new_relic/agent/instrumentation/merb&quot;, &quot;lib/new_relic/agent/instrumentation/merb/controller.rb&quot;, &quot;lib/new_relic/agent/instrumentation/merb/dispatcher.rb&quot;, &quot;lib/new_relic/agent/instrumentation/merb/errors.rb&quot;, &quot;lib/new_relic/agent/instrumentation/rails&quot;, &quot;lib/new_relic/agent/instrumentation/rails/action_controller.rb&quot;, &quot;lib/new_relic/agent/instrumentation/rails/action_web_service.rb&quot;, &quot;lib/new_relic/agent/instrumentation/rails/dispatcher.rb&quot;, &quot;lib/new_relic/agent/instrumentation/rails/errors.rb&quot;, &quot;lib/new_relic/agent/instrumentation/rails/rails.rb&quot;, &quot;lib/new_relic/agent/method_tracer.rb&quot;, &quot;lib/new_relic/agent/patch_const_missing.rb&quot;, &quot;lib/new_relic/agent/samplers&quot;, &quot;lib/new_relic/agent/samplers/cpu.rb&quot;, &quot;lib/new_relic/agent/samplers/memory.rb&quot;, &quot;lib/new_relic/agent/samplers/mongrel.rb&quot;, &quot;lib/new_relic/agent/stats_engine.rb&quot;, &quot;lib/new_relic/agent/synchronize.rb&quot;, &quot;lib/new_relic/agent/transaction_sampler.rb&quot;, &quot;lib/new_relic/agent/worker_loop.rb&quot;, &quot;lib/new_relic/agent.rb&quot;, &quot;lib/new_relic/commands&quot;, &quot;lib/new_relic/commands/deployments.rb&quot;, &quot;lib/new_relic/commands/new_relic_commands.rb&quot;, &quot;lib/new_relic/config&quot;, &quot;lib/new_relic/config/merb.rb&quot;, &quot;lib/new_relic/config/rails.rb&quot;, &quot;lib/new_relic/config/ruby.rb&quot;, &quot;lib/new_relic/config.rb&quot;, &quot;lib/new_relic/local_environment.rb&quot;, &quot;lib/new_relic/merbtasks.rb&quot;, &quot;lib/new_relic/metric_data.rb&quot;, &quot;lib/new_relic/metric_spec.rb&quot;, &quot;lib/new_relic/metrics.rb&quot;, &quot;lib/new_relic/noticed_error.rb&quot;, &quot;lib/new_relic/shim_agent.rb&quot;, &quot;lib/new_relic/stats.rb&quot;, &quot;lib/new_relic/transaction_analysis.rb&quot;, &quot;lib/new_relic/transaction_sample.rb&quot;, &quot;lib/new_relic/version.rb&quot;, &quot;lib/new_relic_api.rb&quot;, &quot;lib/newrelic_rpm.rb&quot;, &quot;lib/tasks&quot;, &quot;lib/tasks/agent_tests.rake&quot;, &quot;lib/tasks/all.rb&quot;, &quot;lib/tasks/install.rake&quot;, &quot;bin/newrelic_cmd&quot;, &quot;recipes/newrelic.rb&quot;, &quot;test/config&quot;, &quot;test/config/newrelic.yml&quot;, &quot;test/config/test_config.rb&quot;, &quot;test/new_relic&quot;, &quot;test/new_relic/agent&quot;, &quot;test/new_relic/agent/mock_ar_connection.rb&quot;, &quot;test/new_relic/agent/mock_scope_listener.rb&quot;, &quot;test/new_relic/agent/model_fixture.rb&quot;, &quot;test/new_relic/agent/tc_active_record.rb&quot;, &quot;test/new_relic/agent/tc_agent.rb&quot;, &quot;test/new_relic/agent/tc_collection_helper.rb&quot;, &quot;test/new_relic/agent/tc_controller.rb&quot;, &quot;test/new_relic/agent/tc_dispatcher_instrumentation.rb&quot;, &quot;test/new_relic/agent/tc_error_collector.rb&quot;, &quot;test/new_relic/agent/tc_method_tracer.rb&quot;, &quot;test/new_relic/agent/tc_stats_engine.rb&quot;, &quot;test/new_relic/agent/tc_synchronize.rb&quot;, &quot;test/new_relic/agent/tc_transaction_sample.rb&quot;, &quot;test/new_relic/agent/tc_transaction_sample_builder.rb&quot;, &quot;test/new_relic/agent/tc_transaction_sampler.rb&quot;, &quot;test/new_relic/agent/tc_worker_loop.rb&quot;, &quot;test/new_relic/agent/testable_agent.rb&quot;, &quot;test/new_relic/tc_config.rb&quot;, &quot;test/new_relic/tc_deployments_api.rb&quot;, &quot;test/new_relic/tc_environment.rb&quot;, &quot;test/new_relic/tc_metric_spec.rb&quot;, &quot;test/new_relic/tc_shim_agent.rb&quot;, &quot;test/new_relic/tc_stats.rb&quot;, &quot;test/test_helper.rb&quot;, &quot;test/ui&quot;, &quot;test/ui/tc_newrelic_helper.rb&quot;, &quot;ui/controllers&quot;, &quot;ui/controllers/newrelic_controller.rb&quot;, &quot;ui/helpers&quot;, &quot;ui/helpers/google_pie_chart.rb&quot;, &quot;ui/helpers/newrelic_helper.rb&quot;, &quot;ui/views&quot;, &quot;ui/views/layouts&quot;, &quot;ui/views/layouts/newrelic_default.rhtml&quot;, &quot;ui/views/newrelic&quot;, &quot;ui/views/newrelic/_explain_plans.rhtml&quot;, &quot;ui/views/newrelic/_sample.rhtml&quot;, &quot;ui/views/newrelic/_segment.rhtml&quot;, &quot;ui/views/newrelic/_segment_row.rhtml&quot;, &quot;ui/views/newrelic/_show_sample_detail.rhtml&quot;, &quot;ui/views/newrelic/_show_sample_sql.rhtml&quot;, &quot;ui/views/newrelic/_show_sample_summary.rhtml&quot;, &quot;ui/views/newrelic/_sql_row.rhtml&quot;, &quot;ui/views/newrelic/_stack_trace.rhtml&quot;, &quot;ui/views/newrelic/_table.rhtml&quot;, &quot;ui/views/newrelic/explain_sql.rhtml&quot;, &quot;ui/views/newrelic/images&quot;, &quot;ui/views/newrelic/images/arrow-close.png&quot;, &quot;ui/views/newrelic/images/arrow-open.png&quot;, &quot;ui/views/newrelic/images/blue_bar.gif&quot;, &quot;ui/views/newrelic/images/gray_bar.gif&quot;, &quot;ui/views/newrelic/index.rhtml&quot;, &quot;ui/views/newrelic/javascript&quot;, &quot;ui/views/newrelic/javascript/transaction_sample.js&quot;, &quot;ui/views/newrelic/sample_not_found.rhtml&quot;, &quot;ui/views/newrelic/show_sample.rhtml&quot;, &quot;ui/views/newrelic/show_source.rhtml&quot;, &quot;ui/views/newrelic/stylesheets&quot;, &quot;ui/views/newrelic/stylesheets/style.css&quot;]
   s.has_rdoc = true</diff>
      <filename>newrelic_rpm.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d70d626a2b4954be653883cf2b6cafc01637b1f0</id>
    </parent>
  </parents>
  <author>
    <name>Bill Kayser</name>
    <email>bkayser@newrelic.com</email>
  </author>
  <url>http://github.com/mislav/newrelic_rpm/commit/44ce28a0bd373ec7df1c408376db4f6b8b073c6f</url>
  <id>44ce28a0bd373ec7df1c408376db4f6b8b073c6f</id>
  <committed-date>2009-01-27T12:23:07-08:00</committed-date>
  <authored-date>2009-01-27T12:23:07-08:00</authored-date>
  <message>sync agent beta 2.8.1-6274</message>
  <tree>7221a4d1d6924eb062d764010f6df41dd6504d34</tree>
  <committer>
    <name>Bill Kayser</name>
    <email>bkayser@newrelic.com</email>
  </committer>
</commit>
