From: Marc Weber Date: 2010-01-14T17:56:17+09:00 Subject: rubygems: bad urls I patched ruby gems successfully so that it outputs ruby packages so that I can feed them into the Nix package manager system (www.nixos.org). One item of the generated output looks like this: jeremymcanally_pending_0_1 = rubyDerivation { name = "ruby-jeremymcanally-pending-0.1"; # full_name nameNoVersion = "jeremymcanally_pending"; propagatedBuildInputs = [ ]; src = fetchurl { url = "http://gems.rubyforge.org/gems/jeremymcanally-pending-0.1.gem"; sha256 = "no hash"; }; meta = { homepage = "http://jeremymcanally.com"; license = []; # one of ? description = "pending lets you define a block of test code that is currently \"pending\" functionality, similar to RSpec's pending method"; # cut to 120 chars longDescription = "pending lets you define a block of test code that is currently \"pending\" functionality, similar to RSpec's pending method."; }; }; And you can see by "no hash" that something is wrong with this gem. It's not only that one. By resolving dependencies for: up chronic rubygems-update xrefresh-server rb-inotify jeweler these .gem urls are invalid: http://gems.rubyforge.org/gems/bmabey-fakefs-0.1.1.1.gem http://gems.rubyforge.org/gems/jeremymcanally-pending-0.1.gem http://gems.rubyforge.org/gems/devver-construct-1.1.0.gem http://gems.rubyforge.org/gems/mhennemeyer-output_catcher-1.0.1.gem http://gems.rubyforge.org/gems/thoughtbot-shoulda-2.10.2.gem http://gems.rubyforge.org/gems/bmabey-fakefs-0.1.1.1.gem http://gems.rubyforge.org/gems/jeremymcanally-pending-0.1.gem http://gems.rubyforge.org/gems/devver-construct-1.1.0.gem http://gems.rubyforge.org/gems/mhennemeyer-output_catcher-1.0.1.gem http://gems.rubyforge.org/gems/thoughtbot-shoulda-2.10.2.gem So what's happening here? Of course I can start fetching those gems manually from git repositories etc. But isn't the purpose of gems that I can install them easily ? Should I contact the authors and ask them to upload a new version? Actually I have kind of bootstrapping problem: I'd like to use rake to build the gem files. However rake requires jeweler. I can't install jeweler because of bad hashs. Is there a way to fix those gem urls? Yes, I am new to ruby. Marc Weber