Ripple uninitialized constant EmbeddedDocument

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Ripple uninitialized constant EmbeddedDocument

John Lynch
(Sean, I was so glad to find Ripple -- just what we need for a proof-of-concept project we are starting.  Thank you!)

In trying to get things going with the Ripple sample code, I get the following error. Before I start ripping into it I thought I would see if anyone else had run into this...

curb library not found! Please `gem install curb` for better performance.
#<Riak::RObject http://127.0.0.1:8098/raw/doc/application.js [application/javascript]:"alert('Hello, World!')">
/usr/local/lib/ruby/gems/1.9.1/gems/ripple-0.5.0/lib/ripple/document.rb:56:in `block in <module:Document>': uninitialized constant Email::EmbeddedDocument (NameError)
        from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta/lib/active_support/concern.rb:17:in `class_eval'
        from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta/lib/active_support/concern.rb:17:in `append_features'
        from ./test.rb:27:in `include'
        from ./test.rb:27:in `<class:Email>'
        from ./test.rb:26:in `<main>'

Test System Info
---------------------------
Ubuntu 8.04.3 LTS
ruby 1.9.1p376 (2009-12-07 revision 26041) [i686-linux]
gem version 1.3.5
(test.rb code is here:  http://gist.github.com/301963)

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.0.beta, 2.3.5)
actionpack (3.0.0.beta, 2.3.5)
activemodel (3.0.0.beta)
activerecord (3.0.0.beta, 2.3.5)
activeresource (3.0.0.beta, 2.3.5)
activesupport (3.0.0.beta, 2.3.5)
addressable (2.1.1)
arel (0.2.pre)
builder (2.1.2)
bundler (0.9.3)
erubis (2.6.5)
gemcutter (0.3.0)
hobo (0.9.106)
hobofields (0.9.106)
hobosupport (0.9.106)
i18n (0.3.3)
json_pure (1.2.0)
mail (2.1.2)
memcache-client (1.7.8)
mime-types (1.16)
rack (1.1.0, 1.0.1)
rack-mount (0.5.0, 0.4.0)
rack-test (0.5.3)
rails (3.0.0.beta, 2.3.5)
railties (3.0.0.beta)
rake (0.8.7)
rillow (0.2.0)
ripple (0.5.0)
rubygems-update (1.3.5)
sqlite3-ruby (1.2.5)
terminal-table (1.4.2)
text-format (1.0.0)
text-hyphen (1.0.0)
thor (0.13.0)
tzinfo (0.3.16)
will_paginate (2.3.12)
xml-simple (1.0.12)



Regards,

John Lynch, CTO
Rigel Group, LLC
[hidden email]




_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: Ripple uninitialized constant EmbeddedDocument

Sean Cribbs
John,

Are you using Ruby 1.9? One of my known issues has to do with relative namespaces on 1.9.  Fully-qualifying the modules should resolve the issue, however.

Sean

On 2/11/10 4:27 PM, John Lynch wrote:
(Sean, I was so glad to find Ripple -- just what we need for a proof-of-concept project we are starting.  Thank you!)

In trying to get things going with the Ripple sample code, I get the following error. Before I start ripping into it I thought I would see if anyone else had run into this...

curb library not found! Please `gem install curb` for better performance.
#<Riak::RObject http://127.0.0.1:8098/raw/doc/application.js [application/javascript]:"alert('Hello, World!')">
/usr/local/lib/ruby/gems/1.9.1/gems/ripple-0.5.0/lib/ripple/document.rb:56:in `block in <module:Document>': uninitialized constant Email::EmbeddedDocument (NameError)
        from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta/lib/active_support/concern.rb:17:in `class_eval'
        from /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0.beta/lib/active_support/concern.rb:17:in `append_features'
        from ./test.rb:27:in `include'
        from ./test.rb:27:in `<class:Email>'
        from ./test.rb:26:in `<main>'

Test System Info
---------------------------
Ubuntu 8.04.3 LTS
ruby 1.9.1p376 (2009-12-07 revision 26041) [i686-linux]
gem version 1.3.5
(test.rb code is here:  http://gist.github.com/301963)

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.0.beta, 2.3.5)
actionpack (3.0.0.beta, 2.3.5)
activemodel (3.0.0.beta)
activerecord (3.0.0.beta, 2.3.5)
activeresource (3.0.0.beta, 2.3.5)
activesupport (3.0.0.beta, 2.3.5)
addressable (2.1.1)
arel (0.2.pre)
builder (2.1.2)
bundler (0.9.3)
erubis (2.6.5)
gemcutter (0.3.0)
hobo (0.9.106)
hobofields (0.9.106)
hobosupport (0.9.106)
i18n (0.3.3)
json_pure (1.2.0)
mail (2.1.2)
memcache-client (1.7.8)
mime-types (1.16)
rack (1.1.0, 1.0.1)
rack-mount (0.5.0, 0.4.0)
rack-test (0.5.3)
rails (3.0.0.beta, 2.3.5)
railties (3.0.0.beta)
rake (0.8.7)
rillow (0.2.0)
ripple (0.5.0)
rubygems-update (1.3.5)
sqlite3-ruby (1.2.5)
terminal-table (1.4.2)
text-format (1.0.0)
text-hyphen (1.0.0)
thor (0.13.0)
tzinfo (0.3.16)
will_paginate (2.3.12)
xml-simple (1.0.12)



Regards,

John Lynch, CTO
Rigel Group, LLC
[hidden email]



_______________________________________________ riak-users mailing list [hidden email] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com