views:

38

answers:

1

i have installed sunspot search engine as mentioned in website http://www.linux-mag.com/id/7341/2/ every thing is installed correctly but it is showing error while starting a solr instance for sunspot when i run command

"sunspot-solr start -- -p 8983 -d /home/sharath/data/solr/devp"

it shows error

"sunspot-solr: command not found"

i am working on ubuntu 10.4

A: 

Is your rubygems executable directory in your PATH?

outoftime
ya now i made it executable but now i am getting NoMethodError in User_sessions#newShowing /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/templates/rescues/diagnostics.erb where line # raised:private method `gsub' called for #<NoMethodError: undefined method `closed?' for nil:NilClass>Extracted source (around line #):RAILS_ROOT: /media/New Volume_/RORWorkspace/itplowsvnApplication Trace | Framework Trace | Full Trace/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/pathname/clean_within.rb:7:in `clean_within'
sharath
and when i run rake sunspot:solr:start i get No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)/usr/lib/ruby/1.8/rake.rb:2377:in raw_load_rakefile' (See full trace by running task with --trace)"i am getting above extracted errori have installed rake file but still it showing error can u please help me
sharath