Hi all, I've just tried to run ruote-kit with jruby and things didn't go well. When I launch the default process an error happens on event apply for the first participant. Here is the trace:
--8-- #<ArgumentError: wrong # of arguments(0 for 1)> /Users/gonzalo/.bundler/jruby/1.8/ruote-08bf692/lib/ruote/exp/ fe_participant.rb:245:in `schedule_timeout' /Users/gonzalo/.bundler/jruby/1.8/ruote-08bf692/lib/ruote/exp/ fe_participant.rb:154:in `apply' /Users/gonzalo/.bundler/jruby/1.8/ruote-08bf692/lib/ruote/exp/ fe_ref.rb:117:in `apply' /Users/gonzalo/.bundler/jruby/1.8/ruote-08bf692/lib/ruote/exp/ flowexpression.rb:225:in `do_apply' /Users/gonzalo/.bundler/jruby/1.8/ruote-08bf692/lib/ruote/worker.rb: 310:in `launch' /Users/gonzalo/.bundler/jruby/1.8/ruote-08bf692/lib/ruote/worker.rb: 221:in `process' --8-- I tried to follow the error and opened fe_participant.rb where I found that the method 'timeout' is invoked on a StorageParticipant instance (line 245) I checked the rdoc for ruote and didn't found any attribute or method called 'timeout'. I'm lost here. I don't know why this code works fine when running with command "rackup" and it doesn't when running with "jruby -S rackup". Just add that I changed a bit the Gemfile: -gem 'thin' +#gem 'thin' -# gem 'json_pure' # safest all-around choice +gem 'json_pure' # safest all-around choice -gem 'yajl-ruby' +#gem 'yajl-ruby' Thanks for the tips! Regards. Gonzalo. -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
