#178 new

getting the right drb version of acts_as_ferret for rails 2.1.1

Reported by rduz | October 18th, 2010 @ 09:31 PM

I can't seem to get the correct version of acts_as_ferret installed for Rails 2.1.1. Production uses mongrel, and is throwing the fairly well known error:

File Not Found Error occured at <except.c>:117 in xpop_context Error occured in fs_store.c:329 - fs_open_input

tried to open "/srv/rails/brokersifs/releases/20101018181741/index/production/resourceitem/_x.cfs" but it doesn't exist: <No such file or directory>

From my reading, I need to get it to use the Drb version. So, I configured the config/ferret_server.yml file, and updated my monit_config to start it. I can confirm it got started on the port that I wanted, but the same error above continued to occur.

Further reading suggests that I need to install a newer version. So, I installed via
script/plugin install git://github.com/jkraemer/acts_as_ferret.git, and I notice there is now a script/ferret_server, which errors out:

rduz@BIDSK0064U:~/rails/brokersifs$ script/ferret_server --debug start
Rails.root: /home/rduz/rails/brokersifs
Rails.env: development
undefined method join' for "/home/rduz/rails/brokersifs":String<br/> /home/rduz/rails/brokersifs/vendor/plugins/acts_as_ferret/lib/acts_as_ferret/server/config.rb:36:inabs_config_file_path' /home/rduz/rails/brokersifs/vendor/plugins/acts_as_ferret/lib/acts_as_ferret/server/config.rb:24:in initialize' /home/rduz/rails/brokersifs/vendor/plugins/acts_as_ferret/lib/acts_as_ferret/server/server.rb:30:innew' /home/rduz/rails/brokersifs/vendor/plugins/acts_as_ferret/lib/acts_as_ferret/server/server.rb:30:in initialize' script/ferret_server:74:innew'

The old ferret_start doesn't seem to work either:
rduz@BIDSK0064U:~/rails$ cd brokersifs
rduz@BIDSK0064U:~/rails/brokersifs$ script/ferret_start
/home/rduz/rails/brokersifs/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:275: warning: parenthesize argument(s) for future version /home/rduz/rails/brokersifs/vendor/plugins/acts_as_ferret/lib/acts_as_ferret/class_methods.rb:152: warning: parenthesize argument(s) for future version /home/rduz/rails/brokersifs/vendor/plugins/acts_as_ferret/lib/acts_as_ferret/local_index.rb:74: warning: parenthesize argument(s) for future version /home/rduz/rails/brokersifs/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:275: warning: parenthesize argument(s) for future version /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': no such file to load -- rails (MissingSourceFile)

from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /home/rduz/rails/brokersifs/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:510:in `require'
from /home/rduz/rails/brokersifs/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
from /home/rduz/rails/brokersifs/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:510:in `require'
from /home/rduz/rails/brokersifs/vendor/plugins/acts_as_ferret/lib/acts_as_ferret/railtie.rb:2
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /home/rduz/rails/brokersifs/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:510:in `require'
 ... 8 levels...
from /home/rduz/rails/brokersifs/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:261:in `load_missing_constant'
from /home/rduz/rails/brokersifs/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:468:in `const_missing'
from /home/rduz/rails/brokersifs/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:480:in `const_missing'
from script/ferret_start:25

What is the proper method to run acts_as_ferret in drb mode under rails 2.1.1? I don't mind installing an older version of acts_as_ferret at this point just to get the site working again.

Thank you.


Comments and changes to this ticket

  • dcbdxvbbu

    dcbdxvbbu September 8th, 2018 @ 07:17 AM

    Here is some drb methods which helps you in your work. I want to tell you how you can make your working better after read whole thesis services blog. That is the best way to get knowledge about the drb which is new for you.

  • Terrelzgerald

    Terrelzgerald October 16th, 2018 @ 08:05 AM

    When we realize that our social affair isn't great and they all are alcoholic. Or on the other hand might be at some point they struck in police elite assignment help record and he is endeavoring to avoid this place . He is attempting to get a permit to run their alcoholic thing when he got a permit then their is nobody who stop them.

  • JeremyBurtonnn

    JeremyBurtonnn July 17th, 2019 @ 05:22 PM

    This article was written by a real thinking writer without a doubt. I agree many of the with the solid points made by the writer. I’ll be back day in and day for further new updates to share it with http://kansallisetkasinot.weebly.com/ so thank you so much for such content!

  • mtom

    mtom March 13th, 2021 @ 08:58 AM

    Hello there! I know this is somewhat off topic but I was wondering which blog platform are you using for this site? I’m getting tired of WordPress because I’ve had problems with hackers and I’m looking at options for another platform. I would be fantastic if you could point me in the direction of a good platform. 밀양출장안마

    Oh my goodness! an incredible article dude. Thanks a ton However We are experiencing issue with ur rss . Don’t know why Cannot enroll in it. Can there be any person finding identical rss dilemma? Anyone who knows kindly respond. Thnkx Pure one cart

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket