I figured out that I must include a require 'json' require 'ruote/storage/fs_storage'
than it seems to work! ~Bjoern On Aug 1, 12:22 pm, bjoern <[email protected]> wrote: > Hi, > > I just downloaded and installed all gems and tried to to execute the > > ruby examples/ruote_quickstart.rb > > but I get the following error: > > /Library/Ruby/Gems/1.8/gems/rufus-json-1.0.1/lib/rufus/json.rb:67: no > JSON backend found (RuntimeError) > from /Library/Ruby/Gems/1.8/gems/rufus-json-1.0.1/lib/rufus/json.rb: > 154:in `call' > from /Library/Ruby/Gems/1.8/gems/rufus-json-1.0.1/lib/rufus/json.rb: > 154:in `encode' > from /Library/Ruby/Gems/1.8/gems/rufus-cloche-1.0.1/lib/rufus/ > cloche.rb:103:in `put' > from /Library/Ruby/Gems/1.8/gems/rufus-cloche-1.0.1/lib/rufus/ > cloche.rb:103:in `open' > from /Library/Ruby/Gems/1.8/gems/rufus-cloche-1.0.1/lib/rufus/ > cloche.rb:103:in `put' > from /Library/Ruby/Gems/1.8/gems/rufus-cloche-1.0.1/lib/rufus/ > cloche.rb:309:in `call' > from /Library/Ruby/Gems/1.8/gems/rufus-cloche-1.0.1/lib/rufus/ > cloche.rb:309:in `lock' > from /Library/Ruby/Gems/1.8/gems/rufus-cloche-1.0.1/lib/rufus/ > cloche.rb:293:in `synchronize' > from /Library/Ruby/Gems/1.8/gems/rufus-cloche-1.0.1/lib/rufus/ > cloche.rb:293:in `lock' > from /Library/Ruby/Gems/1.8/gems/rufus-cloche-1.0.1/lib/rufus/ > cloche.rb:94:in `put' > from /Library/Ruby/Gems/1.8/gems/ruote-2.2.1/lib/ruote/storage/ > fs_storage.rb:78:in `put' > from /Library/Ruby/Gems/1.8/gems/ruote-2.2.1/lib/ruote/storage/ > base.rb:71:in `replace_engine_configuration' > from /Library/Ruby/Gems/1.8/gems/ruote-2.2.1/lib/ruote/storage/ > fs_storage.rb:68:in `initialize' > from ruote_quickstart.rb:9:in `new' > from ruote_quickstart.rb:9 > > Any idea what goes wrong? -- 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
