similar to: sharing sessions through drb

Displaying 20 results from an estimated 100000 matches similar to: "sharing sessions through drb"

2007 Jun 28
1
DRb server crashing
I''m having a problem where the DRb server seems to be disappearing (crashing?) and I don''t know how to track down the cause or work around the problem. Unfortunately I haven''t found a way to reproduce the problem, but it seems to happen fairly often (maybe once a day). Other then that ferret seems to be working well. I can''t seem to find any trace of the
2007 Sep 17
2
Drb - shared app with multiple private databases - howto?
Hello, I''ve been trying to get my head around ferret and the one thing that stumps me is how I might use Drb on a dedicated server with multiple clients using the SAME application but each with their own private database and other file assets (in an uploads directory within the app) Thank you for any suggestions, pointer etc. Also I''d be very interested in hearing from those
2006 Jun 07
1
Using DRb within Rails
I want to use DRb within my Rails app. Right now I''ve got a very basic class: class PaymentGateway cattr_accessor :ssl_config, :host, :port def self.gateway @@gateway ||= new end def process(amount, card, type = :auth) @biller.process(amount, card, type) end def set_card(user_id, number) @biller.set_card(user_id, number) end protected def initialize
2011 Jul 26
0
connect to DRb server from rails controller ?
I haven''t done any DRb stuff in awhile, but I used to connect to a DRb server from a rails controller. I''ve never tried it in rails 3 and am wondering if Rails 3 is stricter about something like this or why it hasn''t worked thus far. My server/client code and error are shown below: SERVER: require ''drb'' class ParserSvc def initialize end
2006 Sep 06
3
DRb error when using rails_spec on OS X
Hi, all- I started playing with RSpec in a new Rails app. I''ve installed the plugin and bootstrapped it, and run ''script/rails_spec_runner'' (not rails_spec_server as the website currently reads, btw) in a separate shell, then in another shell I run ''script/rails_spec'' and get the following: /usr/local/lib/ruby/1.8/drb/drb.rb:837:in
2007 Apr 01
2
strange behavior after switching to DRb server
After switching to the DRb server, I am experiencing strange behavior when sorting on score. My app was working as expected before the switch. Both before and after the switch, my app sorts properly on other fields, such as date. For sorting on score, I am using the following option find_by_contents option: :sort => Ferret::Search::SortField::SCORE Before switching to DRb, this worked
2007 Nov 20
2
Question on Deploying a Ferret DRb server
(Sorry if some people see this twice. I originally posted this question from ruby-forum.com, but didn''t realize that the Ferret forum was a mirror and that I actually wasn''t a member.) Anyway, I''ve read all the documentation I could find, and read most of this forum, but I''m a still a little confused on running a ferret DRb server. All the examples seem to be
2007 Jun 05
3
Do I need to use a DRB server?
I''m finishing up a rails app that uses Ferret / AAF. I''m using shared hosting provided by railsplayground.com. My app is pretty small and is never going to get much traffic, so I''m going with the cheapest plan. Unfortunately, the cheapest plan doesn''t allow any static processes. I''ve read multiple recommendations to use a DRB server when using ferret
2008 Feb 10
1
DRb + Chat interface?
Hello, I''m an amateur rails developer, and am currently developing a project that needs a somewhat specialized chat client. I''ve recently become enamored with DRb, and was wondering if anyone had tried implementing it when attempting to make a chat client. The reason I want to use DRb instead of some other way of doing it is because if I understand it right the client should be
2008 Jan 31
1
DRb does not activate using options file
Hello List, For a small project I''ve been using ''ruby script/spec -X spec'' to execute my specs. Now that I added ZenTest on it, found that the test takes longer to run due the complete load of test environment. Since autotest uses ''script/spec -O spec/spec.opts'' as the command, I decided to add --drb to spec.opts Using --drb or -X, spec_server is
2007 May 01
2
AAF and DRb server
I''ve installed the ferret gem. I installed AAF as a plugin into my vendor/plugins directory of my project. In development environment my searches work just fine, without any problems. For production I configured the ferret_server.yml file with correct information about the machine my DRb server is running on. I start the ferret server with the following command: ruby script/runner
2006 Aug 04
3
forms and relationships
i''m still pretty new to rails, and while i''ve been able to hack my way into having it do what i want so far, i''m not happy with the way my code looks. on top of that, i''m sure that what i''m doing prlly isn''t the most efficient either. one of my biggest problems is probably to do with using relationships and forms together. i''ve
2007 Apr 20
1
Launching DRb server on reboot
I''m hoping for a little insight. We''re using ferret with DRb server and having a hard time getting it to come back up on reboot of the machine. In our RAILS_ROOT directory, we''ve got a script named start_ferret. Here''s the content: #!/bin/bash FERRET_USE_LOCAL_INDEX=1 script/runner -e production vendor/plugins/acts_as_ferret/script/ferret_start
2007 Dec 02
1
solaris SMF to start ferret drb server
Jesse Grosjean wrote: > I''m trying to write a solaris SMF file to launch the ferret drb server. Hmm, I think I''ve hit a similar problem. I''ve just upgraded to the latest ferret trunk from an old aaf stable where the script/ferret_start and script/ferret_stop scripts were still in use. now if I call the old script... RAILS_ENV=production script/ferret_start
2007 Apr 09
1
Drb Connection error on multiple dispatch.fcgi ''s
Hi All, I''m using Backgroundrb as a general purpose long-running-task back-end (upload processing, email sending, etc), and it''s been a great solution. However I''ve recently run into some some intermittent connection issues that have me baffled. I''m running on apache2/fcgid and the problem occurs in both devlopment and production mode. The problem seems to
2007 Apr 04
2
Please help with Drb server
The Problem: The application is using the AAF plugin. When I attempt to rebuild the index on the production server from the console, I get the following error: ------ DRb::DRbConnError: druby://ferret.mydomain.com:9010 - #<Errno::ETIMEDOUT: Connection timed out - connect(2)> from /usr/lib/ruby/1.8/drb/drb.rb:736:in `open'' from /usr/lib/ruby/1.8/drb/drb.rb:729:in
2007 Aug 30
0
Method missing error after switching to DRB
I am getting these errors after switchign to dRb: It is trying to call ''add'' on MY SourceListing class, not extended with the ferret indexing methods. Any ideas on where to fix this? I''m combing through the code now. no luck, trying to call class method instead ferret server error undefined method `add'' for SourceListing:Class
2007 Apr 18
1
stack level too deep for method missing when using drb
I set up ferret and it''s running fine normally. Now I want to hook up the backgroundrb server. However whenever I try to do a search, I get this error: (druby://localhost:9010) /usr/local/lib/ruby/1.8/drb/drb.rb:1075:in `method_missing'' (druby://localhost:9010) ./vendor/plugins/acts_as_ferret/lib/remote_index.rb:20:in `find_id_by_contents'' (druby://localhost:9010)
2006 Sep 28
1
upload_progress and DRb.start_service crashes
Whenever I tried to start mongrel_rails with the upload progress script, it would die with the following error: /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `getaddrinfo'': getaddrinfo: No address associated with nodename (SocketError) from /usr/local/lib/ruby/1.8/drb/drb.rb:837:in `open_server_inaddr_any'' from /usr/local/lib/ruby/1.8/drb/drb.rb:860:in
2006 Oct 28
0
Problem starting up the drb server
Hi, I''m rather new to backgrounDRb and DRb itself. I tried to run backgrounDRb on my shared hosting site at Railsplayground.com using rake backgroundrb:start and got this error: /usr/local/lib/ruby/1.8/drb/drb.rb:862:in `initialize'': getaddrinfo: Name or service not known (SocketError) from /usr/local/lib/ruby/1.8/drb/drb.rb:862:in `open_server'' from