我看到了这个问题Setup sunspot solr with rails in production environment。
但是我看到了我的输出:
bundle exec sunspot-solr start
...sunspot_solr is not part of the bundle. Add it to Gemfile.我在开发小组下有sunspot_solr,我想我不应该改变这一点。
捆绑器输出
Using rsolr (1.0.8)
...
Using sunspot (1.3.3)
Using sunspot_rails (1.3.3) Rake输出
rake sunspot:solr:start RAILS_ENV=production
Note: This task has been moved to the sunspot_solr gem. To install, start and
stop a local Solr instance, please add sunspot_solr to your Gemfile:
group :development do
gem 'sunspot_solr'
end有什么建议,谢谢。
发布于 2013-05-07 13:39:56
你能试着把这些gem放在开发小组之外吗?
我在开发小组之外有以下几个宝石:
gem 'sunspot_rails'
gem 'sunspot_solr'https://stackoverflow.com/questions/16411414
复制相似问题