OK,  How do I set up the path correctly?

I first inserted a lot of unshifts and thought that could not be the
way then I tried to extract the test run from the rake spec I got from
rake -T and add directories as I ran into unstatisfied requirements.

Example:

ruby -I"spec:lib:../ruote2.0/lib:/usr/lib/ruby/gems/1.8/gems/
json-1.1.9/lib:/usr/lib/ruby/gems/1.8/gems/rufus-dollar-1.0.2/lib:/usr/
lib/ruby/gems/1.8/gems/rufus-mnemo-1.1.0/lib:/usr/lib/ruby/gems/1.8/
gems/rufus-lru-1.0.2/lib"  "/usr/lib/ruby/gems/1.8/gems/rspec-1.2.8/
bin/spec" "spec/participant_spec.rb" "spec/ruote_amqp_spec.rb" "spec/
listener_spec.rb"

Regards,

Charles

On Sep 23, 7:38 pm, John Mettraux <[email protected]> wrote:
> On Thu, Sep 24, 2009 at 1:26 AM, Charles.Magid <[email protected]> wrote:
>
> > I need help translating 4 lines from ruote-amqp 0.9 to ruote-amqp
> > 2.0.  My goal is to get a working amqp listener example working today,
> > please.
>
> > See lines below:
>
> > ./lib/spec/ruote_helpers.rb:24:#    return if
> > @terminated_processes.include?( fei.wfid )
>
> > ./spec/spec_helper.rb:58:       @terminated_processes << fe.fei.wfid
>
> > ./spec/listener_spec.rb:49:    wi = OpenWFE::InFlowWorkItem.from_h
> > ( OpenWFE::Json.decode( @msg ) )
>
> > ./spec/listener_spec.rb:52:    MQ.queue( wi.attributes
> > ['reply_queue'] ).publish( OpenWFE::Json.encode( wi.to_h ) )
>
> > Getting a working amqp listener example working today is needed.  Help
> > would be appreciated.    I have forked asm ruote-amqp repo as
> > requested.   I posted back, the non working code, that I have so far
> > into:
>
> > git clone git://github.com/ChasManRors/ruote-amqp.git
>
> Hello Charles,
>
> as said, I've already started the work on moving those specs to ruote 2.0
>
>  http://github.com/jmettraux/ruote-amqp/
>
> Best regards,
>
> --
> John Mettraux   -  http://jmettraux.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to