rails/rails — Issue #4559: Invalid Gemspec for Rails 3.2
Author: derekprior
Created: 2012-01-20 19:17:04+00:00
State: open

It seems the 3.2 release has issues with some of the compiled gemspecs. I've seen elsewhere that updating to the latest rubygems fixes this, but there was no notation of that in the release notes. The default version of rubygems with REE is 1.6.2 Is support for only newer versions of rubygems intentional?

I've seen mention that building the gems with 1.9.x causes the issue, but I don't particularly understand it myself. Would rebuilding and re-publishing the gems with 1.8.7 fix the issue?

Updating rubygems locally is not an issue. Updating it on deployed environments may be for many people (myself included).

```
Invalid gemspec in [/Users/dprior/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/gems/1.8/specifications/actionmailer-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Invalid gemspec in [/Users/dprior/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/gems/1.8/specifications/actionpack-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Invalid gemspec in [/Users/dprior/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/gems/1.8/specifications/activemodel-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Invalid gemspec in [/Users/dprior/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/gems/1.8/specifications/activerecord-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Invalid gemspec in [/Users/dprior/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/gems/1.8/specifications/activeresource-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Invalid gemspec in [/Users/dprior/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/gems/1.8/specifications/rails-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
Invalid gemspec in [/Users/dprior/.rbenv/versions/ree-1.8.7-2010.02/lib/ruby/gems/1.8/specifications/railties-3.2.0.gemspec]: Illformed requirement ["# 3.2.0"]
```