Ruby on Rails Friday, December 2, 2011

Ok.... So Sunspot and solr is one and the same thing?

I tried this example...
http://techbot.me/2011/01/full-text-search-in-in-rails-with-sunspot-and-solr/


but when i run it i get the exception:

$ rake sunspot:solr:run
Requiring REXML
The syntax of the command is incorrect.
rake aborted!
You need a Java Runtime Environment to run the Solr server

Tasks: TOP => sunspot:solr:run
(See full trace by running task with --trace)


Any solution to this? I have JDK 1.7 installed with PATH variable
properly set.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment