Sha256: 689c02227100e1496c28499e80dc49eadc2a74fa56faec227f3d1b7daf2c35ea

Contents?: true

Size: 567 Bytes

Versions: 2

Compression:

Stored size: 567 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
# frozen_string_literal: true

if __FILE__ == $0 || $0 =~ /script\/plugin/ || File.basename($0) == 'rake'
  $LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), 'lib'))
  require 'new_relic/cli/command'
  begin
    NewRelic::Cli::Install.new(:quiet => true, :app_name => 'My Application').run
  rescue NewRelic::Cli::Command::CommandFailure => e
    $stderr.puts e.message
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
newrelic_rpm-8.10.1 install.rb
newrelic_rpm-8.10.0 install.rb