Hi John,

I had the same issue with ../openwfe-ruby/lib/openwfe/storage/
yamlextras.rb, where the storage/yamlextras.rb was missing from the
gem's contents, so I decided to have a further look...

Here is what i did to pinpoint the issue:

* I checked out trunk (http://openwferu.rubyforge.org/svn/trunk/
openwfe-ruby), the file storage/yamlextras.rb was there.
* I built the gem (rake gem)
* I installed the newly built gem (sudo gem install
openwferu-0.9.15.gem)

At this point I still had the issue so I opened the file "Rakefile".

I found that the issue was related to line 52 (see below) which
excludes files/directories containing "extras" in the name.

50    files = FileList[ "{bin,docs,lib,test,examples}/**/*" ]
51    files.exclude "rdoc"
52    files.exclude "extras"
53    s.files = files.to_a

When I commented out line 52, built the gem and installed it, the
issue was resolved, that is, the gem now had the file storage/
yamlextras.rb.

I hope this helps.

Thanks,

Leo

On Sep 1, 12:36 pm, "John Mettraux" <[EMAIL PROTECTED]> wrote:
> On 9/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
> > I got the trunk of OpenWFEru and have a different error now.
>
> > >> ../openwfe-ruby/lib/openwfe/storage/yamlextras.rb:76: undefined method 
> > >> `yaml_as'
> > >> for OpenWFE::FlowExpressionId:Class (NoMethodError)
>
> > At least something changed.
>
> Hi Jon,
>
> seems like the "require 'yaml'" statement was not executed, for instance :
>
> ---8<---
> sonanda:~ mettraux$ irb
> irb(main):001:0> class A
> irb(main):002:1>   yaml_as ""
> irb(main):003:1> end
> NoMethodError: undefined method `yaml_as' for A:Class
>         from (irb):2
> --->8---
>
> Though there is a "require 'yaml'" at the top of the class that complains.
>
> when does the error get produced, at startup or during an operation ?
> which version of Ruby are you using ?
> which version of Ruby on Rails are you using ?
> did you uninstall the "openwferu" and the "openwferu-extras" gems to
> make sure they were not interfering with the trunk ?
>
> Best regards,
>
> --
> John Mettraux   -///-  http://jmettraux.openwfe.org


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to