lucasefe/themes_for_rails — Issue #47: gem 0.5.0.pre broken on ruby 1.8.7
Author: vilea
Created: 2012-03-06 19:43:26+00:00
State: open

gem version 0.5.0.pre installed on a ruby 1.8.7 system breaks the whole rubygem repository. Although the installation is successful, any other gem command fails (e.g gem -v) fails with:

Invalid .gemspec format in '/Library/Ruby/Gems/1.8/specifications/themes_for_rails-0.5.0.pre.gemspec'

due to

# 3.0.11"]>

Apparently the gem on rubygems.org contain this strange ["# 3.0.11"] instead of a simple "="

.....
s.add_development_dependency(%q, [">= 0"])
s.add_development_dependency(%q, [">= 0"])
s.add_development_dependency(%q, [">= 0"])
s.add_development_dependency(%q, [">= 0"])
s.add_development_dependency(%q, ["# 3.0.11"])
.....

Building the gem locally (gem build themes_for_rails.gemspec) and installing it locally (gem install themes_for_rails -l -v 0.5.0.pre) everything works just fine.

No, problem with ruby 1.9.3 systems, as well.