Sha256: d47d4b67fd1c8f93ee3e696a0dd41b812dc44743f4101654c92e3caed17e46d4

Contents?: true

Size: 328 Bytes

Versions: 12

Compression:

Stored size: 328 Bytes

Contents

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

12 entries across 12 versions & 1 rubygems

Version Path
slack-ruby-bot-server-0.12.3 sample_apps/sample_app_mongoid/config.ru
slack-ruby-bot-server-0.12.2 sample_apps/sample_app_mongoid/config.ru
slack-ruby-bot-server-0.12.1 sample_apps/sample_app_mongoid/config.ru
slack-ruby-bot-server-0.12.0 sample_apps/sample_app_mongoid/config.ru
slack-ruby-bot-server-0.11.1 sample_apps/sample_app_mongoid/config.ru
slack-ruby-bot-server-0.11.0 sample_apps/sample_app_mongoid/config.ru
slack-ruby-bot-server-0.10.0 sample_apps/sample_app_mongoid/config.ru
slack-ruby-bot-server-0.9.0 sample_apps/sample_app_mongoid/config.ru
slack-ruby-bot-server-0.8.3 sample_apps/sample_app_mongoid/config.ru
slack-ruby-bot-server-0.8.2 sample_apps/sample_app_mongoid/config.ru
slack-ruby-bot-server-0.8.1 sample_apps/sample_app_mongoid/config.ru
slack-ruby-bot-server-0.8.0 sample_apps/sample_app_mongoid/config.ru