安装sunspot_solr时出错

时间:2015-03-12 10:07:14

标签: ruby-on-rails ruby

如何解决此问题。在rails app中安装sunspot_solr gem。

 > gem install sunspot_solr -v '2.1.1'
ERROR:  Error installing sunspot_solr:
    invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in /home/prabhakar/.rvm/gems/ruby-1.9.3-p547/cache/sunspot_solr-2.1.1.gem

1 个答案:

答案 0 :(得分:-1)

尝试安装 gem install sunspot_solr -v 2.1.1