# File lib/riddle/controller.rb, line 14 def sphinx_version `#{indexer} 2>&1`[/^Sphinx (\d+\.\d+(\.\d+|(\-id64)?\-beta))/, 1] rescue nil end