Sunspor Solr生产
问题描述:
我看到这个问题Setup sunspot solr with rails in production environment。Sunspor Solr生产
但我看到我的输出:
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
任何意见,谢谢。
答
你可以尝试把宝石放在开发组之外吗?
我有开发组之外以下宝石:
gem 'sunspot_rails'
gem 'sunspot_solr'
谢谢,我得到偏另一个问题和答案。 – juanpastas 2013-05-07 05:51:55