Must be something to do with that, as changing

  class SetExpression < FlowExpression
    names :set, :unset

to

  class SetExpression < FlowExpression
    names :setf, :unset

within  fe_set.rb works with or without the sinatra gem in the
gemfile.  (obviously using setf instead of set.)  So some kind of
conflict on the set method....


On Jan 7, 12:30 pm, John Mettraux <[email protected]> wrote:
> On Fri, Jan 07, 2011 at 04:25:25AM -0800, rebo wrote:
>
> > 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!
>
> Hello Rebo,
>
> maybe Sinatra's set is shadowing ruote's set, since you can do
>
> ---8<---
> require 'sinatra'
>
> set :port, 3333
>
> get '/' do
>   "nada"
> end
> --->8---
>
> 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