Sha256: 47c2968b7308d5242ee622e1b159dbd7e62d8ab5b128b01900e3e1a9c77d2fe3
Contents?: true
Size: 495 Bytes
Versions: 5
Compression:
Stored size: 495 Bytes
Contents
ENV['RACK_ENV'] ||= 'development' Bundler.require :default require_relative 'commands' Mongoid.load!(File.expand_path('config/mongoid.yml', __dir__), ENV['RACK_ENV']) if ENV['RACK_ENV'] == 'development' puts 'Loading NewRelic in developer mode ...' require 'new_relic/rack/developer_mode' use NewRelic::Rack::DeveloperMode end NewRelic::Agent.manual_start SlackRubyBotServer::App.instance.prepare! SlackRubyBotServer::Service.start! run SlackRubyBotServer::Api::Middleware.instance
Version data entries
5 entries across 5 versions & 1 rubygems