Sha256: 02778c126cb4d323a03b67c60c978ba262f031bb7f23c73d35d37f25bc5941c7

Contents?: true

Size: 359 Bytes

Versions: 3

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

ENV['RACK_ENV'] ||= 'development'

Bundler.require :default

require_relative 'commands'

Mongoid.load!(File.expand_path('config/mongoid.yml', __dir__), ENV['RACK_ENV'])

NewRelic::Agent.manual_start

SlackRubyBotServer::App.instance.prepare!
SlackRubyBotServer::Service.start!

run SlackRubyBotServer::Api::Middleware.instance

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slack-ruby-bot-server-rtm-0.2.0 sample_apps/sample_app_mongoid/config.ru
slack-ruby-bot-server-rtm-0.1.1 sample_apps/sample_app_mongoid/config.ru
slack-ruby-bot-server-rtm-0.1.0 sample_apps/sample_app_mongoid/config.ru