Sha256: e61226a4bec0b8f3dd78e152e3e042fb5b8483c89f8c29a92afc35ff9f0d0e00

Contents?: true

Size: 633 Bytes

Versions: 4

Compression:

Stored size: 633 Bytes

Contents

module ThinkingSphinx
  class AutoVersion
    def self.detect
      version = ThinkingSphinx::Configuration.instance.version
      case version
      when '0.9.8', '0.9.9'
        require "riddle/#{version}"
      when '1.10-beta', '1.10-id64-beta'
        require 'riddle/1.10'
      else
        STDERR.puts %Q{
Sphinx cannot be found on your system. You may need to configure the following
settings in your config/sphinx.yml file:
  * bin_path
  * searchd_binary_name
  * indexer_binary_name

For more information, read the documentation:
http://freelancing-god.github.com/ts/en/advanced_config.html
}
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
thinking-sphinx-1.4.3 lib/thinking_sphinx/auto_version.rb
thinking-sphinx-2.0.2 lib/thinking_sphinx/auto_version.rb
thinking-sphinx-1.4.2 lib/thinking_sphinx/auto_version.rb
thinking-sphinx-1.4.1 lib/thinking_sphinx/auto_version.rb