Skip to content

Commit

Permalink
allow sphinx vesion that is compiled from source
Browse files Browse the repository at this point in the history
  • Loading branch information
gregwebs committed Mar 18, 2011
1 parent a07678b commit 6db04e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/thinking_sphinx/auto_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ def self.detect
case version
when '0.9.8', '0.9.9'
require "riddle/#{version}"
when '1.10-beta', '1.10-id64-beta'
when '1.10-beta', '1.10-id64-beta', '1.10-dev'
require 'riddle/1.10'
else
unless version.nil? or version.empty?
STDERR.puts "Unsupported version: #{version}"
end
STDERR.puts %Q{
Sphinx cannot be found on your system. You may need to configure the following
settings in your config/sphinx.yml file:
Expand Down

0 comments on commit 6db04e3

Please sign in to comment.