-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
An fpm user on IRC reported: "hm, just did a fresh gem install fpm on this ubuntu vm and I'm getting an invalid gemspec for clamp, invalid date format"
I know I've filed about this before, and the particular problem is fixed only in certain cases. The problem still exists in a very common case described below:
- The user has an older version of rubygems (say, the default ruby 1.8.7, rubygems 1.7.2 on Ubuntu 11.10)
- The user installs a gem that was built with a broken version of rubygems (ones causing the date or yaml problems)
- The user now gets a warning for every rubygems-using ruby invocation
Here are my proposed fixes, each are independent and complete and do not require the other proposals. These proposals below are not necessarily ones I would prefer, but are simply ideas I had:
Proposal #1: Patch all the rubygems published on rubygems.org that are currently observed as broken-after-install.
Proposal #2: Yank all bad versions of gems on rubygems.org and notify authors about it.
I understand that these perhaps sound a bit extreme - going in and patch every gem on rubygems.org which broken in the way described above. I am willing to help write the code that does this should the proposal be accepted.