Sha256: 07b4c957842c4673724cf28535f9a859825a99701d2030b5a1455985a429eb50

Contents?: true

Size: 647 Bytes

Versions: 1

Compression:

Stored size: 647 Bytes

Contents

# Copyright (c) 2013 by Tracelytics, Inc.
# All rights reserved.

begin
  if ENV.has_key?('TRACEVIEW_URL')
    require 'oboe_metal.so'
    require 'heroku_metal'
    require 'oboe-heroku/loading'
    require 'oboe-heroku/version'

    # Require the core oboe gem
    require 'oboe'

    ::OboeHeroku::Loading.initialize
  end
rescue LoadError
  if ENV.has_key?('TRACEVIEW_DEBUG_LEVEL') and (ENV['TRACEVIEW_DEBUG_LEVEL'].to_i > 1)
    $stderr.puts "[oboe-heroku/error] Could not load oboe-heroku dependencies."
  end
rescue Exception => e
  $stderr.puts "[oboe-heroku/error] Problem loading: #{e.inspect}"
  $stderr.puts e.backtrace.join("\n")
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oboe-heroku-0.8.0.27.beta2 lib/oboe-heroku.rb