Invalid YAML in capistrano-2.9.0.gem's manifest file #153

Closed
tarcieri opened this Issue Feb 13, 2012 · 7 comments

Comments

Projects
None yet
5 participants
@tarcieri

Hi there. If you download:

wget https://rubygems.org/gems/capistrano-2.9.0.gem
tar -xvf capistrano-2.9.0.gem
gunzip manifest.gz

You will find the following line:

date: 2011-09-24 00:00:00.000000000Z

Unfortunately, this causes the following problem with RubyGems:

Invalid gemspec in [/Users/tony/.rvm/gems/ree-1.8.7-2011.12/specifications/capistrano-2.9.0.gemspec]: invalid date format in specification: "2011-09-24 00:00:00.000000000Z"

The issue is that the date format does not comply with the YAML specification. A correct date looks like one of the following:

date: 2011-09-24 00:00:00 Z
date: 2011-09-24 00:00:00.000000000 Z

(Note the space between the end of the 0's and Z)

Building the gem with Ruby 1.9.3 should avoid this problem in the future.

@leehambley

This comment has been minimized.

Show comment Hide comment
@leehambley

leehambley Feb 14, 2012

Owner

2.10.0 is pending, consider it done this next day or two.

On 14 February 2012 00:14, Tony Arcieri <
reply@reply.github.com

wrote:

Hi there. If you download:

wget https://rubygems.org/gems/capistrano-2.9.0.gem
tar -xvf capistrano-2.9.0.gem
gunzip manifest.gz

You will find the following line:

date: 2011-09-24 00:00:00.000000000Z

Unfortunately, this causes the following problem with RubyGems:

Invalid gemspec in
[/Users/tony/.rvm/gems/ree-1.8.7-2011.12/specifications/capistrano-2.9.0.gemspec]:
invalid date format in specification: "2011-09-24 00:00:00.000000000Z"

The issue is that the date format does not comply with the YAML
specification. A correct date looks like one of the following:

date: 2011-09-24 00:00:00 Z
date: 2011-09-24 00:00:00.000000000 Z

(Note the space between the end of the 0's and Z)

Building the gem with Ruby 1.9.3 should avoid this problem in the future.


Reply to this email directly or view it on GitHub:
#153

Owner

leehambley commented Feb 14, 2012

2.10.0 is pending, consider it done this next day or two.

On 14 February 2012 00:14, Tony Arcieri <
reply@reply.github.com

wrote:

Hi there. If you download:

wget https://rubygems.org/gems/capistrano-2.9.0.gem
tar -xvf capistrano-2.9.0.gem
gunzip manifest.gz

You will find the following line:

date: 2011-09-24 00:00:00.000000000Z

Unfortunately, this causes the following problem with RubyGems:

Invalid gemspec in
[/Users/tony/.rvm/gems/ree-1.8.7-2011.12/specifications/capistrano-2.9.0.gemspec]:
invalid date format in specification: "2011-09-24 00:00:00.000000000Z"

The issue is that the date format does not comply with the YAML
specification. A correct date looks like one of the following:

date: 2011-09-24 00:00:00 Z
date: 2011-09-24 00:00:00.000000000 Z

(Note the space between the end of the 0's and Z)

Building the gem with Ruby 1.9.3 should avoid this problem in the future.


Reply to this email directly or view it on GitHub:
#153

@ifesdjeen

This comment has been minimized.

Show comment Hide comment
@ifesdjeen

ifesdjeen Feb 17, 2012

@leehambley is there any chance to release 2.10?

We're on master right now, but that is never the best way to manage dependencies, and we rely heavily on the yet unreleased features.

@leehambley is there any chance to release 2.10?

We're on master right now, but that is never the best way to manage dependencies, and we rely heavily on the yet unreleased features.

@leehambley

This comment has been minimized.

Show comment Hide comment
@leehambley

leehambley Feb 17, 2012

Owner

Alex P, sorry I've been absolutely blocked by "personal life" - I'll do my
absolute damnedest to get this shipped as 2.10.x this weekend (sorry for
the absolutely shocking response times lately)

  • Lee
Owner

leehambley commented Feb 17, 2012

Alex P, sorry I've been absolutely blocked by "personal life" - I'll do my
absolute damnedest to get this shipped as 2.10.x this weekend (sorry for
the absolutely shocking response times lately)

  • Lee
@ifesdjeen

This comment has been minimized.

Show comment Hide comment
@ifesdjeen

ifesdjeen Feb 17, 2012

thank you so much @leehambley!

thank you so much @leehambley!

@gaffneyc

This comment has been minimized.

Show comment Hide comment
@gaffneyc

gaffneyc Feb 20, 2012

@tarcieri which version of Rubygems are you using? I've seen similar issues with older versions and I believe it's been fixed in Rubygems itself.

@tarcieri which version of Rubygems are you using? I've seen similar issues with older versions and I believe it's been fixed in Rubygems itself.

@tarcieri

This comment has been minimized.

Show comment Hide comment
@tarcieri

tarcieri Feb 20, 2012

@gaffneyc this was with RubyGems 1.7.x. I've managed to upgrade in the meantime, however the gemspec still contains invalid YAML ;)

@gaffneyc this was with RubyGems 1.7.x. I've managed to upgrade in the meantime, however the gemspec still contains invalid YAML ;)

@carsomyr

This comment has been minimized.

Show comment Hide comment
@carsomyr

carsomyr Aug 9, 2012

Contributor

I'm closing this for now. Let me know if the problem still persists.

Contributor

carsomyr commented Aug 9, 2012

I'm closing this for now. Let me know if the problem still persists.

@carsomyr carsomyr closed this Aug 9, 2012

mattbrictson pushed a commit to mattbrictson/capistrano that referenced this issue Aug 24, 2016

Merge pull request #153 from mattbrictson/improved-readme
Redo README to explain how to run the site locally
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment