config.ru 231 Bytes
Newer Older
Robert Speicher's avatar
Robert Speicher committed
1
2
3
require 'bundler'

Bundler.require
4
Dotenv.load(".env.#{ENV['RACK_ENV']}", '.env')
Robert Speicher's avatar
Robert Speicher committed
5

Robert Speicher's avatar
Robert Speicher committed
6
7

if ENV['RAVEN_DSN']
8
  Raven.configure do |config|
Robert Speicher's avatar
Robert Speicher committed
9
10
11
12
13
14
    config.dsn = ENV['RAVEN_DSN']
  end

  use Raven::Rack
end

Robert Speicher's avatar
Robert Speicher committed
15
16
require './app'
run MarketoTools