Push of new gem gives internal error

bil.simser's Avatar

bil.simser

01 Aug, 2010 03:01 PM

I'm trying to push a new gem up. This worked on Friday for me with a different one but this one seems to have problems. I've tried the gem on two machines and still get an internal error.

Here's the gemspec:

version = File.read(File.expand_path("../VERSION", __FILE__)).strip

Gem::Specification.new do |spec|
    spec.platform    = Gem::Platform::RUBY
    spec.name        = 'ninject'
    spec.version     = version
    spec.files = Dir['lib/**/*']
    spec.summary     = 'Ninject is a lightweight dependency injection framework for .NET applications'
    spec.description = 'Ninject is a lightweight dependency injection framework for .NET applications. It helps you split your application into a collection of loosely-coupled, highly-cohesive pieces, and then glue them back together in a flexible manner. By using Ninject to support your software’s architecture, your code will become easier to write, reuse, test, and modify.'
    spec.author           = 'Nate Kohari'
    spec.email             = '[email blocked]'
    spec.homepage          = 'http://ninject.org/'
    spec.rubyforge_project = 'ninject'
end

And here's the output I'm getting:

C:\projects\ninject>gem push ninject-2.0.0.0.20100801.gem
Pushing gem to RubyGems.org...
<h1>Internal Server Error</h1>

I did a "gem update --system" but that hasn't helped.

Any thoughts?

  1. 1 Posted by bil.simser on 01 Aug, 2010 03:04 PM

    bil.simser's Avatar

    Also here's my VERSION file that gets read in:

    2.0.0.0.20100801

    I've also tried it as

    2.0.0.0

    Neither works and produces the same error.

    edit:
    here's my ruby version as well:

    C:\projects\ninject>ruby --version
    ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]

  2. 2 Posted by bil.simser on 01 Aug, 2010 03:10 PM

    bil.simser's Avatar

    Here's the metadata file when I created the gem:

    --- !ruby/object:Gem::Specification 
    name: ninject
    version: !ruby/object:Gem::Version 
      hash: 40201597
      prerelease: false
      segments: 
      - 2
      - 0
      - 0
      - 0
      - 20100801
      version: 2.0.0.0.20100801
    platform: ruby
    authors: 
    - Nate Kohari
    autorequire: 
    bindir: bin
    cert_chain: []
    
    date: 2010-08-01 00:00:00 -06:00
    default_executable: 
    dependencies: []
    
    description: "Ninject is a lightweight dependency injection framework for .NET applications. It helps you split your application into a collection of loosely-coupled, highly-cohesive pieces, and then glue them back together in a flexible manner. By using Ninject to support your software\x92s architecture, your code will become easier to write, reuse, test, and modify."
    email: [email blocked]
    executables: []
    
    extensions: []
    
    extra_rdoc_files: []
    
    files: 
    - lib/mono-2.0/Ninject.dll
    - lib/mono-2.0/Ninject.xml
    - lib/net-3.5/Ninject.dll
    - lib/net-3.5/Ninject.xml
    - lib/netcf-3.5/Ninject.dll
    - lib/netcf-3.5/Ninject.xml
    - lib/silverlight-2.0/Ninject.dll
    - lib/silverlight-2.0/Ninject.xml
    - lib/silverlight-3.0/Ninject.dll
    - lib/silverlight-3.0/Ninject.xml
    has_rdoc: true
    homepage: http://ninject.org/
    licenses: []
    
    post_install_message: 
    rdoc_options: []
    
    require_paths: 
    - lib
    required_ruby_version: !ruby/object:Gem::Requirement 
      none: false
      requirements: 
      - - ">="
        - !ruby/object:Gem::Version 
          hash: 3
          segments: 
          - 0
          version: "0"
    required_rubygems_version: !ruby/object:Gem::Requirement 
      none: false
      requirements: 
      - - ">="
        - !ruby/object:Gem::Version 
          hash: 3
          segments: 
          - 0
          version: "0"
    requirements: []
    
    rubyforge_project: ninject
    rubygems_version: 1.3.7
    signing_key: 
    specification_version: 3
    summary: Ninject is a lightweight dependency injection framework for .NET applications
    test_files: []
    
  3. 3 Posted by bil.simser on 01 Aug, 2010 03:52 PM

    bil.simser's Avatar

    Here's the .gem file if that helps too.

  4. bil.simser closed this discussion on 01 Aug, 2010 04:04 PM.

  5. bil.simser re-opened this discussion on 01 Aug, 2010 04:04 PM

  6. 4 Posted by bil.simser on 01 Aug, 2010 04:04 PM

    bil.simser's Avatar

    Found the issue. There was an illegal character in the description. Thanks.

  7. Support Staff 5 Posted by Nick Quaranto on 01 Aug, 2010 04:06 PM

    Nick Quaranto's Avatar

    Yeah, we need to catch that better. Glad this got figured out, going to keep this open until we really resolve it.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac