Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/66.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/jpa/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails Riddle无法在您的机器上检测到斯芬克斯,因此无法确定您计划使用的斯芬克斯版本_Ruby On Rails_Ruby On Rails 3_Osx Lion_Sphinx_Thinking Sphinx - Fatal编程技术网

Ruby on rails Riddle无法在您的机器上检测到斯芬克斯,因此无法确定您计划使用的斯芬克斯版本

Ruby on rails Riddle无法在您的机器上检测到斯芬克斯,因此无法确定您计划使用的斯芬克斯版本,ruby-on-rails,ruby-on-rails-3,osx-lion,sphinx,thinking-sphinx,Ruby On Rails,Ruby On Rails 3,Osx Lion,Sphinx,Thinking Sphinx,我在控制台中收到此错误。我刚刚格式化了我的整个机器。我从来没有犯过这种错误。任何人都能告诉我这个谜是什么 Riddle cannot detect Sphinx on your machine, and so can't determine which version of Sphinx you are planning on using. Please use one of the following lines after "require 'riddle'" to avoid this w

我在控制台中收到此错误。我刚刚格式化了我的整个机器。我从来没有犯过这种错误。任何人都能告诉我这个谜是什么

Riddle cannot detect Sphinx on your machine, and so can't determine which version of Sphinx you are planning on using. Please use one of the following lines after "require 'riddle'" to avoid this warning.

 require 'riddle/0.9.8'
 # or
 require 'riddle/0.9.9'
 # or
 require 'riddle/1.10'
是Sphinx的Ruby客户端,用于将Sphinx与Rails集成

如何从Rails访问Sphinx?看起来需要将配置设置为指向Sphinx的安装,这样才能加载正确版本的Riddle。如果您正在使用Thinking Sphinx,请尝试在config/Sphinx.yml中设置bin_路径。

是Sphinx的Ruby客户端,用于将Sphinx与Rails集成

如何从Rails访问Sphinx?看起来需要将配置设置为指向Sphinx的安装,这样才能加载正确版本的Riddle。如果您正在使用Thinking Sphinx,请尝试在config/Sphinx.yml中设置bin_路径。

这有助于将或gem更新到最新版本,对于Rails 2.3.x,这是当前版本1.4.11,对于Rails 3.x,这是版本2.0.13。

这有助于将或gem更新到最新版本,对于Rails 2.3.x,这是当前版本1.4.11,对于Rails3.x,它是版本2.0.13