lib/mailboxer/engine.rb in mailboxer-0.6.3 vs lib/mailboxer/engine.rb in mailboxer-0.6.4
- old
+ new
@@ -1,11 +1,11 @@
# Database foreign keys
require 'foreigner'
require 'carrierwave'
begin
require 'sunspot_rails'
+ Logger.new(STDOUT).debug 'The sunspot_rails gem is present. Loading it into mailboxer. You can know use Solr search engine.'
rescue LoadError
- puts 'Not loading sunspot_rails. Gem not present.'
end
module Mailboxer
class Engine < Rails::Engine
\ No newline at end of file