Sha256: 513a7269da63d7a1dcef411d3c50c72f7012bec885102b2b2bda8d5331576203

Contents?: true

Size: 361 Bytes

Versions: 6

Compression:

Stored size: 361 Bytes

Contents

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

Bundler.require :default

require_relative 'commands'
require 'yaml'

ActiveRecord::Base.establish_connection(YAML.load_file('config/postgresql.yml')[ENV['RACK_ENV']])

NewRelic::Agent.manual_start

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

run SlackRubyBotServer::Api::Middleware.instance

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slack-ruby-bot-server-0.10.0 sample_apps/sample_app_activerecord/config.ru
slack-ruby-bot-server-0.9.0 sample_apps/sample_app_activerecord/config.ru
slack-ruby-bot-server-0.8.3 sample_apps/sample_app_activerecord/config.ru
slack-ruby-bot-server-0.8.2 sample_apps/sample_app_activerecord/config.ru
slack-ruby-bot-server-0.8.1 sample_apps/sample_app_activerecord/config.ru
slack-ruby-bot-server-0.8.0 sample_apps/sample_app_activerecord/config.ru