search for: parsersvc

Displaying 1 result from an estimated 1 matches for "parsersvc".

Did you mean: parser_svc
2011 Jul 26
0
connect to DRb server from rails controller ?
...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 def check return ''ok'' end end svc = ParserSvc.new DRb.start_service ''druby://:9000'', svc puts "Server running at #{DRb.uri}" trap("INT") { DRb.stop_service } DRb.thread.join ----------------------------...