On Sat, Apr 18, 2009 at 4:57 AM, Freddy Peña <[email protected]> wrote:
>
> After a lot of looking around I finally found a temporary hack to make
> it work on my box. I noticed the files on \work_ENV\expool\*.ruote
> were being saved with some weird encoding. I looked around
> fs_expstorage.rb and noticed you had the choice for storing the
> persistence files with either Ruby Marshalling or YAML, so I forced it
> to use YAML by replacing line 59, "@persist_as_yaml =
> (application_context[:persist_as_yaml] == true)" with
> "@persist_as_yaml = true"

Hi Freddy,

as you've spotted, you can set the :persist_as_yaml to true in the
application_context, ie replace the line 48 of config/environment.rb
with that one :

  RUOTE_ENV = { :persist_as_yaml => true }

It will have the same effect as the change you've described.

> However, I still don't know why the Marshalling fails. Maybe you have
> to force UTF-8? Or Marshal files are not plain files but HEX or
> something else?

This commit fixes the issue (for me at least) :

  
http://github.com/jmettraux/ruote/commit/fb533e799128b43a8941660dadc744bcaabebde1


Now, I'd really love if you'd answer these previous questions of mine :

On Apr 17, 4:19 am, John Mettraux <[email protected]> wrote:
>
> Hi Jeff + Freddy,
>
> I myself have an issue with mysql 5.0.77 and the gem mysql (version
> 2.7.3). Which version of this gem are you guys using ? (gem search mysql).

Which version of MySQL are you using ?
Which version of the ruby mysql gem are you using ?

That would really help me.


Thanks in advance, que le vaya bien,

-- 
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