No longer in need for a ⚠️ here

Only those who bundles kaminari-core without bundling kaminari-actionview, kaminari-sinatra, or kaminari-grape would see this warning today,
but that's a rare case, and that should be intentional.
This commit is contained in:
Akira Matsuda 2016-10-11 20:32:22 +09:00
parent 7de7b458c0
commit 9371c685d8
1 changed files with 0 additions and 16 deletions

View File

@ -8,22 +8,6 @@ rescue LoadError
#do nothing
end
$stderr.puts <<-EOC if !defined?(::Rails::Railtie) && !defined?(Sinatra) && !defined?(Grape)
warning: no framework detected.
Your Gemfile might not be configured properly.
---- e.g. ----
Rails:
gem 'kaminari'
Sinatra/Padrino:
gem 'kaminari-sinatra'
Grape:
gem 'kaminari-grape'
EOC
# load Kaminari components
require 'kaminari/config'
require 'kaminari/exceptions'