Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A number of updates #3

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

A number of updates #3

wants to merge 17 commits into from

Conversation

springbok
Copy link

Hi tomasc,

As requested here are my updates, thanks for all the work you did on putting this together, it helped me a LOTin my project.

Regards,

Etienne.

@zmoazeni
Copy link
Contributor

Are these going to make it into master or should we base our project on springbok's fork?

@mavimo
Copy link

mavimo commented Aug 4, 2012

Hello, I try to setup @tomasc repo and @zmoazeni repo. Each repo have a similar error:

uninitialized constant RSolr::Message (NameError)

I setup my envorinment by:

rails app test_solr_cell

Edit Gemfile and add:

# Integrate application with Apache Solr
gem 'sunspot_solr'
gem 'sunspot_rails'
gem 'sunspot_cell', "1.0", :git => 'https://github.com/springbok/sunspot_cell.git'

now I try to generate scaffold for my model with;

rails generate scaffold Book title:string author:string

but the following error is visible on console:

/home/marco/.rvm/gems/ruby-1.9.3-p0/bundler/gems/sunspot_cell-41ebfbfbe4f9/lib/sunspot/rich_document.rb:3:in `<module:Sunspot>': uninitialized constant RSolr::Message (NameError)
    from /home/marco/.rvm/gems/ruby-1.9.3-p0/bundler/gems/sunspot_cell-41ebfbfbe4f9/lib/sunspot/rich_document.rb:1:in `<top (required)>'
    from /home/marco/.rvm/gems/ruby-1.9.3-p0/bundler/gems/sunspot_cell-41ebfbfbe4f9/lib/sunspot_cell.rb:1:in `require'
    from /home/marco/.rvm/gems/ruby-1.9.3-p0/bundler/gems/sunspot_cell-41ebfbfbe4f9/lib/sunspot_cell.rb:1:in `<top (required)>'
    from /home/marco/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
    from /home/marco/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
    from /home/marco/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `each'
    from /home/marco/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `block in require'
    from /home/marco/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
    from /home/marco/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
    from /home/marco/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
    from /tmp/testbundle/config/application.rb:7:in `<top (required)>'
    from /home/marco/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.7/lib/rails/commands.rb:24:in `require'
    from /home/marco/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.7/lib/rails/commands.rb:24:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'

some other info:

gem list
# ...
sunspot (1.3.3)
sunspot_rails (1.3.3)
sunspot_solr (1.3.3)
# ...
ruby --version
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

any init/Gemfile to correctly use sunspot_cell ?

@mavimo
Copy link

mavimo commented Aug 4, 2012

Ok, I foud error was RSolr::Xml::Document inside RSolr::Message::Document, now I'll do some test to confirm all work fine.

@tibbon
Copy link

tibbon commented Dec 6, 2012

What is the actual "master" of this project? Everything seems to be only branches and never pull or merge together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants