diff --git a/lib/riddle/auto_version.rb b/lib/riddle/auto_version.rb
index <HASH>..<HASH> 100644
--- a/lib/riddle/auto_version.rb
+++ b/lib/riddle/auto_version.rb
@@ -8,6 +8,9 @@ class Riddle::AutoVersion
       require "riddle/#{version}"
     when '1.10-beta', '1.10-id64-beta', '1.10-dev'
       require 'riddle/1.10'
+    else
+      puts "found version: #{version}"
+      exit
     end
   end
 end
diff --git a/lib/riddle/controller.rb b/lib/riddle/controller.rb
index <HASH>..<HASH> 100644
--- a/lib/riddle/controller.rb
+++ b/lib/riddle/controller.rb
@@ -12,7 +12,7 @@ module Riddle
     end
     
     def sphinx_version
-      `#{indexer} 2>&1`[/^Sphinx (\d+\.\d+(\.\d+|(\-id64)?\-beta))/, 1]
+      `#{indexer} 2>&1`[/^Sphinx (\d+\.\d+(\.\d+|(?:-dev|(\-id64)?\-beta)))/, 1]
     rescue
       nil
     end
allow compiling from svn