Git Product home page Git Product logo

Comments (6)

jarib avatar jarib commented on July 18, 2024

Hmm, not sure. Perhaps @drbrain can help? The installed .gemspec looks fine to me:

# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
  s.name = %q{childprocess}
  s.version = "0.2.1"

  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  s.authors = [%q{Jari Bakken}]
  s.date = %q{2011-08-11}
  s.description = %q{This gem aims at being a simple and reliable solution for controlling external programs running in the background on any Ruby / OS combination.}
  s.email = [%q{[email protected]}]
  s.homepage = %q{http://github.com/jarib/childprocess}
  s.require_paths = [%q{lib}]
  s.rubyforge_project = %q{childprocess}
  s.rubygems_version = %q{1.8.6}
  s.summary = %q{This gem aims at being a simple and reliable solution for controlling external programs running in the background on any Ruby / OS combination.}

  if s.respond_to? :specification_version then
    s.specification_version = 3

    if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
      s.add_development_dependency(%q<rspec>, [">= 2.0.0"])
      s.add_development_dependency(%q<yard>, [">= 0"])
      s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
      s.add_runtime_dependency(%q<ffi>, ["~> 1.0.6"])
    else
      s.add_dependency(%q<rspec>, [">= 2.0.0"])
      s.add_dependency(%q<yard>, [">= 0"])
      s.add_dependency(%q<rake>, ["~> 0.9.2"])
      s.add_dependency(%q<ffi>, ["~> 1.0.6"])
    end
  else
    s.add_dependency(%q<rspec>, [">= 2.0.0"])
    s.add_dependency(%q<yard>, [">= 0"])
    s.add_dependency(%q<rake>, ["~> 0.9.2"])
    s.add_dependency(%q<ffi>, ["~> 1.0.6"])
  end
end

from childprocess.

jarib avatar jarib commented on July 18, 2024

This looks related: http://help.rubygems.org/discussions/problems/575-invalid-gemspec-with-invalid-date-format-in-specification

from childprocess.

peternixey avatar peternixey commented on July 18, 2024

I'm having a similar problem:

Installing childprocess (0.2.1) Invalid gemspec in [/Users/petenixey/.rvm/gems/ruby-1.9.2-p180@live/specifications/childprocess-0.2.1.gemspec]: invalid date format in specification: "2011-08-11 00:00:00.000000000Z"
/Users/petenixey/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:277:in `block in _resort!': undefined method `name' for nil:NilClass (NoMethodError)

from childprocess.

johncburr avatar johncburr commented on July 18, 2024

I ended up just doing a sudo vim on the file and removing the offending timestamp. Then I did the bundle install the second time and it was fine.

@jarib - Thanks for the link, at least I know why it happened.

from childprocess.

jarib avatar jarib commented on July 18, 2024

I've released 0.2.2 with no changes except a new gemspec generated with rubygems 1.8.9 (previous gem was made with 1.8.6). Not sure if that helps, but hopefully it does.

from childprocess.

peternixey avatar peternixey commented on July 18, 2024

I think it was just an issue with rubygems: rubygems/rubygems#57. On updating it, all the problems went away (there were issues with several other gems too) @jarib - thank for the quick response

from childprocess.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.