lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siddhant Goel <siddhantg...@gmail.com>
Subject Ruby client fails to build
Date Wed, 20 Jan 2010 09:04:59 GMT
Hi,

I'm using Solr 1.4 (and trying to use the Ruby client (solr-ruby) to access
it). The problem is that I just cant get it to work. :-)

If I run the tests (rake test), it fails giving me the following output -
/path/to/solr-ruby/test/unit/delete_test.rb:52: invalid multibyte char
(US-ASCII)
/path/to/solr-ruby/test/unit/delete_test.rb:52: syntax error, unexpected
$end, expecting ')'
    request = Solr::Request::Delete.new(:query => 'ëäïöü')
                                                     ^
    from
/home/mango/.gem/ruby/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in
`block in <main>'
    from
/home/mango/.gem/ruby/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in
`each'
    from
/home/mango/.gem/ruby/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in
`<main>'
rake aborted!
Command failed with status (1): [/usr/bin/ruby -I"lib" -r solr -r
test/unit...]


And If I try to build the gem anyway, it fails giving me the following error
(after quite a few lines of output) -
rake aborted!
private method `rm_f' called for File:Class
/path/to/solr-ruby/Rakefile:79:in `block (2 levels) in <top (required)>'


Could anyone please tell me what am I missing here?

Thanks,


-- 
- Siddhant

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message