Hi thanks for the advice Torsten but i think i've found the cause ( or at least a trigger) of the problem.
The route setup was fine, ruote worker running in seperate process no problem. What seems to cause the issue is when I have gem 'sinatra', '1.0' within my gemfile, commenting out that line everything runs fine. Put it back in and set expressions do not work. Its really strange as within Ruote-kit itself that sinatra version is specified. Very odd! On Jan 7, 11:39 am, Torsten Schönebaum <[email protected]> wrote: > rebo wrote: > > Hmm something strange is going on, when I run ruote-kit independently > > via rackup, it works fine. But when running as a gem running from my > > rails app it doesn't work. Will investigate further. > > Is there a workitem for attendees? If not, it's likely that you're not > running a ruote worker in your rails app. > > HTH, > Torsten > > > > > > > On Jan 6, 4:31 pm, Torsten Schönebaum <[email protected]> > > wrote: > > > Am Donnerstag, den 06.01.2011, 08:18 -0800 schrieb rebo: > > > > > I'm a bit confused about the set expression, I am trying to set a > > > > workitem field so a latter participant can access it. > > > > > For instance, from the documentation: > > > > > sequence do > > > > set :field => 'subject', :value => 'food and beverage' > > > > set :field => 'date', :val => 'tomorrow' > > > > participant :ref => 'attendees' > > > > end > > > > > However putting the above in ruote-kit and launching the process does > > > > not seem to affect the subsequent workitem's fields for attendess. > > > > I can't reproduce this problem here[1]. Which versions of ruote, > > > ruote-kit and Ruby do you use? Mine are: > > > ruote: 2.1.11 > > > ruote-kit: current HEAD > > > Ruby: ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-linux], MBARI 0x8770, > > > Ruby Enterprise Edition 2010.02 > > > > Cheers, > > > Torsten > > > > [1] That means, the workitem fields appear in > > > http://localhost:9292/_ruote/workitems/0_0_2!!20110106-bejoyarani > > > (example url) as expected. -- 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
