On Thu, May 14, 2009 at 7:38 AM, Freddy Peña <[email protected]> wrote:
>
> After a lot of learning Ruote via ruote-web2, I finally got to the
> point where I'm going to integrate it on my rails 2.1.2 app.

Hello Freddy,

at first, about your title "Ruote not running on Rails 2.1.2 ?"

Ruote[-web] used to work fine on Rails 2.0.x :

  
http://github.com/jmettraux/ruote-web/blob/702da35102f5f9d8f8d32ef6d530e5934ac789fd/README.txt#L44

> What I'm
> doing is progressively taking parts of web2, testing, and fixing any
> incompatibility issues. Definitions works fine now, however, when I
> try to launch a process my server hangs and dies. System memory goes
> up to 1GB and the server throws:
>
> [FATAL] failed to allocate memory
> Error in my_thread_global_end(): 1 threads didn't exit
>
> Debugging step by step, this happens after the "respond_to" in
> ProcessesController#create.

Could you be bit more precise ? There is actually no code after this
respond_to in the #create of the controller. So maybe it's inside.
Could the redirect_to :action => 'show' trigger some loop ?

What happens if you comment out the respond_to block and replace it
with a simple reply like :

  render :text => "ok, it's launched ?"


> I'm using Windows XP SP2, Ruby 1.8.6, rails 2.1.2 and the latest of
> every rufus/ruote gem and plugin. I think rails 2.1.2 uses its own
> built-in mysql driver.
>
> I know it's a lot to ask for help when I'm actually downgrading ruote-
> web2, but upgrading my app to rails 2.3.2 would be far more
> complicated since it's gotten very large, with lots of gems, and my
> team's last option. Any pointer would be greatly appreciated :).

I understand that you don't want to upgrade.

Let's progress methodically. Please be not afraid to output statements
to the logger or the console to track what's happening in there (be it
Rails or Ruote).


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