Sha256: a0fdc3ff7da8aaf8e73e1232a8eab3ee82bbfbb9c0c4948793438c3e07986b3a

Contents?: true

Size: 615 Bytes

Versions: 5

Compression:

Stored size: 615 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'
        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

5 entries across 5 versions & 2 rubygems

Version Path
thinking-sphinx-2.0.1 lib/thinking_sphinx/auto_version.rb
thinking-sphinx-2.0.0 lib/thinking_sphinx/auto_version.rb
thinking-sphinx-1.4.0 lib/thinking_sphinx/auto_version.rb
thorsson_thinking-sphinx-2.0 lib/thinking_sphinx/auto_version.rb
thinking-sphinx-1.3.20 lib/thinking_sphinx/auto_version.rb