Sha256: cf047b4c8694d4e5a9bba95219b90a0f381b80889c5091d2d75ca4add7e17216

Contents?: true

Size: 359 Bytes

Versions: 26

Compression:

Stored size: 359 Bytes

Contents

Rollbar.configure do |config|
  # Fetch the access token from the environment.
  config.access_token = ENV['ROLLBAR_ACCESS_TOKEN']

  # Only use Rollbar in production when there's a token configured.
  unless config.access_token and Rails.env.production?
    config.enabled = false
  end

  # Enable delayed reporting (using Sidekiq)
  config.use_sidekiq
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
disco_app-0.6.9 lib/generators/disco_app/rollbarify/templates/initializers/rollbar.rb
disco_app-0.7.0 lib/generators/disco_app/rollbarify/templates/initializers/rollbar.rb
disco_app-0.7.1 lib/generators/disco_app/rollbarify/templates/initializers/rollbar.rb
disco_app-0.7.2 lib/generators/disco_app/rollbarify/templates/initializers/rollbar.rb
disco_app-0.8.0 lib/generators/disco_app/rollbarify/templates/initializers/rollbar.rb
disco_app-0.8.1 lib/generators/disco_app/rollbarify/templates/initializers/rollbar.rb
disco_app-0.8.2 lib/generators/disco_app/monitorify/templates/initializers/rollbar.rb
disco_app-0.8.3 lib/generators/disco_app/monitorify/templates/initializers/rollbar.rb
disco_app-0.8.4 lib/generators/disco_app/monitorify/templates/initializers/rollbar.rb
disco_app-0.8.5 lib/generators/disco_app/monitorify/templates/initializers/rollbar.rb
disco_app-0.8.6 lib/generators/disco_app/monitorify/templates/initializers/rollbar.rb
disco_app-0.8.7 lib/generators/disco_app/monitorify/templates/initializers/rollbar.rb
disco_app-0.8.8 lib/generators/disco_app/monitorify/templates/initializers/rollbar.rb
disco_app-0.8.9 lib/generators/disco_app/monitorify/templates/initializers/rollbar.rb
disco_app-0.9.0 lib/generators/disco_app/monitorify/templates/initializers/rollbar.rb
disco_app-0.9.1 lib/generators/disco_app/monitorify/templates/initializers/rollbar.rb
disco_app-0.9.2 lib/generators/disco_app/monitorify/templates/initializers/rollbar.rb
disco_app-0.9.3 lib/generators/disco_app/templates/initializers/rollbar.rb
disco_app-0.9.4 lib/generators/disco_app/templates/initializers/rollbar.rb
disco_app-0.9.5 lib/generators/disco_app/templates/initializers/rollbar.rb