Sha256: ef078e856f0cb48f0dc000d556a27af5d01d74a2a542951997405be0033b62e4
Contents?: true
Size: 478 Bytes
Versions: 50
Compression:
Stored size: 478 Bytes
Contents
Dir[File.join(File.dirname(__FILE__), '../vendor/*/lib')].each do |path| $LOAD_PATH.unshift path end require 'thinking_sphinx' require 'action_controller/dispatcher' ActionController::Dispatcher.to_prepare :thinking_sphinx do # Force internationalisation to be loaded. if Rails::VERSION::STRING.to_f > 2.2 I18n.backend.reload! I18n.backend.available_locales elsif Rails::VERSION::STRING.to_f > 2.1 I18n.backend.load_translations(*I18n.load_path) end end
Version data entries
50 entries across 50 versions & 10 rubygems