<< Masa.20111202-debug-invoicers-migel-ruby193-debug-price-feeds-new-package-button-oddb_org | 2011 | Masa.20111130-debug-update_price_feeds-exporters-ruby193-oddb_org >>
Refer to http://dev.ywesee.com/wiki.php/Choddb/Ruby193p0#export_oddbdat_20111201
Refer to http://dev.ywesee.com/wiki.php/Choddb/Ruby193p0#invoicers_20111201
Problem
Example (fail)
Run
masa@masa ~/work/drb_test $ ruby18 drb_server1.rb druby://localhost:12346 Hello, World. 2011-12-01
masa@masa ~/work/drb_test $ ruby193 drb_client1.rb (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:585:in `load': instance of Date needs to have method `marshal_load' (TypeError) from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:585:in `load' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:581:in `exclusive' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:581:in `load' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:619:in `recv_request' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:618:in `times' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:618:in `recv_request' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:911:in `recv_request' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1530:in `init_with_client' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1542:in `setup_message' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1494:in `perform' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1589:in `main_loop' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1585:in `loop' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1585:in `main_loop' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1581:in `start' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1581:in `main_loop' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1430:in `run' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1427:in `start' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1427:in `run' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1347:in `initialize' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1627:in `new' from (druby://localhost:12346) /usr/lib64/ruby/1.8/drb/drb.rb:1627:in `start_service' from (druby://localhost:12346) drb_server.rb:19 from drb_client.rb:8:in `<main>'
Experiment (succeed)
Run
masa@masa ~/work/drb_test $ ruby18 drb_server.rb druby://localhost:12346 Hello, World. 2011-12-01 2010-05-02
masa@masa ~/work/drb_test $ ruby193 drb_client.rb