A few friends are facing a strange issue when installing gems on Ubuntu 9.10:

http://pastie.org/690255

(Pasting here the errors for consistency)

Installing gem diff-lcs-1.1.2
Exception `ArgumentError' at /usr/local/lib/ruby/1.8/date.rb:727 - invalid date
ERROR:  While executing gem ... (ArgumentError)
    invalid date
        /usr/local/lib/ruby/1.8/date.rb:727:in `new'
        /usr/local/lib/ruby/1.8/yaml.rb:133:in `node_import'
        /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'
        /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'

This is the environment:

http://pastie.org/690258

After checking the gemspec for the guilty gem:

$ gem spec diff-lcs date --remote
--- !timestamp
at: "2004-10-20 01:00:00 -03:00"
"@marshal_with_utc_coercion": false


While is my understanding that "date" should be a string.

Anyone having similar issues with other gems? Should we start
enforcing the specs of the gems?
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to