mrcsparker/sunspot_cell_jars — Issue #1: Uninitialized constant error
Author: simmogs
Created: 2012-01-20 11:16:24+00:00
State: open

Hi there,

I'm trying to get the latest version of Solr/Cell working, but without much luck so far. I've used your README as a base but I'm getting the following error when I run rails g sunspot_cell_jars:install.

/home/graeme/.rvm/gems/ruby-1.9.3-p0@epra/bundler/gems/sunspot_cell-bc8ac18de141/lib/sunspot/rich_document.rb:3:in `': uninitialized constant Sunspot::RSolr (NameError)
from /home/graeme/.rvm/gems/ruby-1.9.3-p0@epra/bundler/gems/sunspot_cell-bc8ac18de141/lib/sunspot/rich_document.rb:1:in `'
from /home/graeme/.rvm/gems/ruby-1.9.3-p0@epra/bundler/gems/sunspot_cell-bc8ac18de141/lib/sunspot_cell.rb:1:in `'

My Gemfile is as follows;

gem 'sunspot_cell', :git => 'git://github.com/zheileman/sunspot_cell.git'
gem 'sunspot', :git => "https://github.com/mrcsparker/sunspot.git"
gem 'sunspot_rails', :git => "https://github.com/mrcsparker/sunspot.git", :require => "sunspot_rails"
gem 'sunspot_test'

group :development, :test do
gem 'sunspot_cell_jars', :git => 'https://github.com/mrcsparker/sunspot_cell_jars.git'
gem 'sunspot_solr', :git => "https://github.com/mrcsparker/sunspot.git"
end

Many thanks,
Graeme