JRuby support or psych support

37 views
Skip to first unread message

Dennis Payonk

unread,
May 9, 2012, 3:15:01 PM5/9/12
to Fat Free CRM Users
I'm working to get an installation up and I've been able to make many
changes, but the settings.default.yml seems to not be seeding data
because it's using the psych engine instead of syck. For the short
term until I update the .yml files, what is the database format for
the tabs setting? Also, if there is a better solution, that would be
great too.

-Dennis Payonk

Nathan Broadbent

unread,
May 9, 2012, 6:12:04 PM5/9/12
to fat-free-...@googlegroups.com
Hi Dennis, 

Which version of Ruby are you using? The problem is most likely in this file here: https://github.com/fatfreecrm/fat_free_crm/blob/master/lib/fat_free_crm/syck_yaml.rb
We are trying to enforce the syck parser for Ruby 1.9.x, but perhaps we need a condition for JRuby as well?

Thanks,
Nathan B


-Dennis Payonk

--
You received this message because you are subscribed to the Google Groups "Fat Free CRM Users" group.
To post to this group, send email to fat-free-...@googlegroups.com.
To unsubscribe from this group, send email to fat-free-crm-us...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fat-free-crm-users?hl=en.


Dennis Payonk

unread,
May 14, 2012, 4:15:36 PM5/14/12
to fat-free-...@googlegroups.com, natha...@gmail.com
Thanks for getting back to me.  I am using JRuby 1.6.7 with 1.9.2 support.  JRuby warns that it only supports the psych engine.  It was my understanding that the psych parser adheres to the YAML specification moreso than syck.  Is that for compatibility reasons.

In the long term, I'd be interested in contributing the JRuby fixes, but in order to prove the solution out as useful for my needs, I just want to be able to get the installation integrated into my other Rails app.

To do that, I was just going to hard code settings in the db as a hack, but I don't know what the format should be for a Setting row in the db. 

Thanks,

Dennis


On Wednesday, May 9, 2012 5:12:04 PM UTC-5, nathan.f77 wrote:
Hi Dennis, 

Which version of Ruby are you using? The problem is most likely in this file here: https://github.com/fatfreecrm/fat_free_crm/blob/master/lib/fat_free_crm/syck_yaml.rb
We are trying to enforce the syck parser for Ruby 1.9.x, but perhaps we need a condition for JRuby as well?

Thanks,
Nathan B

On Thu, May 10, 2012 at 7:15 AM, Dennis Payonk <dpa...@xselltechnologies.com> wrote:
I'm working to get an installation up and I've been able to make many
changes, but the settings.default.yml seems to not be seeding data
because it's using the psych engine instead of syck.  For the short
term until I update the .yml files, what is the database format for
the tabs setting?  Also, if there is a better solution, that would be
great too.

-Dennis Payonk

--
You received this message because you are subscribed to the Google Groups "Fat Free CRM Users" group.
To post to this group, send email to fat-free-crm-users@googlegroups.com.
To unsubscribe from this group, send email to fat-free-crm-users+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages