Stupid question: what’s the best way to apply this patch?
I’m getting the following error.
lionheart:/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.4 erik$ sudo
patch -p0 <ferret64.patch
patching file ruby/test/unit/largefile/tc_sample_large.rb
patching file ruby/test/unit/ts_largefile.rb
can’t find file to patch at input line 63
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
I realized that I was applying the patch against the gem instead of
checking out the source. Stupid mistake.
It looks like the ferret SVN repository is down? I can’t seem to
check out the current trunk. Anyway, I grabbed the source gem and
applied the patch manually. I had some trouble using the rake install
task on Linux–rake ext didn’t work, but rake -v did. The test cases
passed, so I’m running the reindex that failed with the trunk version
of index.h and index.c. Thanks for the help.
Did you ever hear from Dave about getting this fix included in the
trunk?
Thanks again Kyle.
Erik
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.