Gemfile in slack-ruby-bot-server-0.5.0 vs Gemfile in slack-ruby-bot-server-0.6.0
- old
+ new
@@ -1,6 +1,22 @@
source 'https://rubygems.org'
+case ENV['DATABASE_ADAPTER']
+when 'mongoid' then
+ gem 'mongoid'
+ gem 'kaminari-mongoid'
+ gem 'mongoid-scroll'
+when 'activerecord' then
+ gem 'pg'
+ gem 'activerecord'
+ gem 'otr-activerecord'
+ gem 'cursor_pagination'
+when nil then
+ warn "Missing ENV['DATABASE_ADAPTER']."
+else
+ warn "Invalid ENV['DATABASE_ADAPTER']: #{ENV['DATABASE_ADAPTER']}."
+end
+
gemspec
group :development, :test do
gem 'rack-server-pages'
gem 'bundler'