Francisco, At the request of a number of users, I have been splitting it into two gems - the main reason being the ability to support Rails 2.3.5. It should be complete later this week. When it's complete, I will issue new gems.
Sean Cribbs <[email protected]> Developer Advocate Basho Technologies, Inc. http://basho.com/ On May 4, 2010, at 6:37 AM, francisco treacy wrote: > Hi all, > > I am using Ripple in a project - but i couldn't figure out how to set links. > > I presume it's because I was using 0.6.1 and the "associations" had > not been merged yet? > > So if I add to my Gemfile > > gem "ripple", "0.6.1", :git => "git://github.com/seancribbs/ripple.git" > > (0.6.1 is defined because "If there is no .gemspec at the root of a > git repository, you must specify a version that bundler should use > when resolving dependencies") > > But it doesn't work. > > > => bundle install > Updating git://github.com/seancribbs/ripple.git > Fetching source index from http://rubygems.org/ > Updating git://github.com/seancribbs/ripple.git > Using rake (0.8.7) from bundler gems > Using abstract (1.0.0) from bundler gems > Using builder (2.1.2) from bundler gems > Using i18n (0.3.7) from bundler gems > Using memcache-client (1.8.3) from bundler gems > Using tzinfo (0.3.20) from bundler gems > Using activesupport (3.0.0.beta3) from bundler gems > Using activemodel (3.0.0.beta3) from bundler gems > Using erubis (2.6.5) from bundler gems > Using rack (1.1.0) from bundler gems > Using rack-mount (0.6.3) from bundler gems > Using rack-test (0.5.3) from bundler gems > Using actionpack (3.0.0.beta3) from bundler gems > Using mime-types (1.16) from bundler gems > Using polyglot (0.3.1) from bundler gems > Using treetop (1.4.5) from bundler gems > Using mail (2.2.0) from bundler gems > Using text-hyphen (1.0.0) from bundler gems > Using text-format (1.0.0) from bundler gems > Using actionmailer (3.0.0.beta3) from bundler gems > Using arel (0.3.3) from bundler gems > Using activerecord (3.0.0.beta3) from bundler gems > Using activeresource (3.0.0.beta3) from bundler gems > Using bundler (0.9.24) from bundler gems > Using curb (0.7.1) from bundler gems > Using thor (0.13.6) from bundler gems > Using railties (3.0.0.beta3) from bundler gems > Using rails (3.0.0.beta3) from bundler gems > Using ripple (0.6.1) from git://github.com/seancribbs/ripple.git (at master) > > ripple at > /Users/ftreacy/.rvm/gems/ruby-1.9.1-p378/bundler/gems/ripple-ec597daf6aa1466b6bb0a7f919d4544588366ad2-master/ripple > did not have a valid gemspec. > This prevents bundler from installing bins or native extensions, but > that may not affect its functionality. > The validation message from Rubygems was: > [".document", ".gitignore", "CONTRIBUTORS.textile", "LICENSE", > "README.textile", "RELEASE_NOTES.textile", "bin/rirb", "lib/riak.rb", > "lib/riak/bucket.rb", "lib/riak/client.rb", > "lib/riak/client/curb_backend.rb", "lib/riak/client/http_backend.rb", > "lib/riak/client/net_http_backend.rb", "lib/riak/failed_request.rb", > "lib/riak/i18n.rb", "lib/riak/invalid_response.rb", > "lib/riak/link.rb", "lib/riak/locale/en.yml", > "lib/riak/map_reduce.rb", "lib/riak/map_reduce_error.rb", > "lib/riak/robject.rb", "lib/riak/util/escape.rb", > "lib/riak/util/fiber1.8.rb", "lib/riak/util/headers.rb", > "lib/riak/util/multipart.rb", "lib/riak/util/translation.rb", > "lib/riak/walk_spec.rb", "spec/fixtures/cat.jpg", > "spec/fixtures/multipart-blank.txt", > "spec/fixtures/multipart-with-body.txt", "spec/riak/bucket_spec.rb", > "spec/riak/client_spec.rb", "spec/riak/curb_backend_spec.rb", > "spec/riak/escape_spec.rb", "spec/riak/headers_spec.rb", > "spec/riak/http_backend_spec.rb", "spec/riak/link_spec.rb", > "spec/riak/map_reduce_spec.rb", "spec/riak/multipart_spec.rb", > "spec/riak/net_http_backend_spec.rb", "spec/riak/object_spec.rb", > "spec/riak/walk_spec_spec.rb", > "spec/support/http_backend_implementation_examples.rb", > "spec/support/mock_server.rb", "specs.watchr"] are not files > Using sqlite3-ruby (1.2.5) from bundler gems > Your bundle is complete! Use `bundle show [gemname]` to see where a > bundled gem is installed. > > And even if I try, it doesn't seem to load the gems: > > => rails c > Loading development environment (Rails 3.0.0.beta3) > ruby-1.9.1-p378 > User.find('[email protected]') > NameError: uninitialized constant User::Ripple > from > /Users/ftreacy/Documents/work/projects/myapp/myapp/app/models/user.rb:2:in > `<class:User>' > from > /Users/ftreacy/Documents/work/projects/myapp/myapp/app/models/user.rb:1:in > `<top (required)>' > from (irb):1 > from > /Users/ftreacy/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta3/lib/rails/commands/console.rb:47:in > `start' > from > /Users/ftreacy/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta3/lib/rails/commands/console.rb:8:in > `start' > from > /Users/ftreacy/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta3/lib/rails/commands.rb:34:in > `<top (required)>' > from script/rails:9:in `require' > from script/rails:9:in `<main>' > ruby-1.9.1-p378 > > > User.rb: > > class User > include Ripple::Document > > property :name, String > property :partners, Array, :default => [] > many :items > > end > > My question is: how can I use Ripple with associations/links today? > > Thanks- Francisco > > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
