Bulk updating gem source index for Sax 20 sax 20 cam pk

Running the specs requires an operational Elastic Search server on

The test suite is not to be trusted, don't count on your indexes staying around!

There are three indexes available: { |x| x.report Rehearsal --------------------------- 2.250000 0.050000 2.300000 ( 2.321536) --------------------------- total: 2.300000sec user system total real 2.280000 0.030000 2.310000 ( 2.299291) Bundler also needs a given gem’s dependencies.

If you haven’t noticed already, those dependencies aren’t in the index at all, they’re in the gemspecs, which are stored individually at a completely different location, also gzipped and pp unmarshalled.dependencies [Gem:: Dependency.new("activesupport", Gem:: Requirement.new(["= 3.0.0"]), :runtime), Gem:: Dependency.new("actionpack", Gem:: Requirement.new(["= 3.0.0"]), :runtime), Gem:: Dependency.new("activerecord", Gem:: Requirement.new(["= 3.0.0"]), :runtime), Gem:: Dependency.new("activeresource", Gem:: Requirement.new(["= 3.0.0"]), :runtime), Gem:: Dependency.new("actionmailer", Gem:: Requirement.new(["= 3.0.0"]), :runtime), Gem:: Dependency.new("railties", Gem:: Requirement.new(["= 3.0.0"]), :runtime), Gem:: Dependency.new("bundler", Gem:: Requirement.new(["~ So that’s basically how Ruby Gems figures out dependencies out to a N level, it has to make separate requests to each gemspec and continue to jump through until all possibilities are exhausted.

We can’t move the entire Bundler resolver algorithm to the server side, but this could cut down the number of requests it needs to make out for gemspecs.

I just came to move some ruby scripts onto my mac mini, and to do so I needed to install a couple of gems.My goal is to get rid of at least one of these problems in 2011. Hop on IRC (#rubygems on irc.freenode.net) and the Gemcutter mailing list as well.Bulk updating Gem source index for: installed rails-2.1.0 Successfully installed rake-0.8.1 Successfully installed activesupport-2.1.0 Successfully installed activerecord-2.1.0 Successfully installed actionpack-2.1.0 Successfully installed actionmailer-2.1.0 Successfully installed activeresource-2.1.0 Installing ri documentation for rake-0.8.1... Installing RDoc documentation for activesupport-2.1.0... Installing RDoc documentation for activerecord-2.1.0... Installing RDoc documentation for actionpack-2.1.0... Installing RDoc documentation for actionmailer-2.1.0... Installing RDoc documentation for activeresource-2.1.0... Imagine what we could be doing instead of waiting for dependencies to resolve!I’m out of ideas already, I love resolving dependencies.

Leave a Reply