Internal server error

Benoit Côté-Jodoin's Avatar

Benoit Côté-Jodoin

23 Dec, 2010 04:37 PM

I know. I already see this http://help.rubygems.org/discussions/problems/434-internal-server-e...

But they are not in the subject anymore.

So, I try to push a gem and this is what I get:

$ gem push tilt-mustache-0.0.1.gem
Pushing gem to RubyGems.org...
<h1>Internal Server Error</h1>
  1. Support Staff 1 Posted by Nick Quaranto on 24 Dec, 2010 02:18 AM

    Nick Quaranto's Avatar

    No stack trace at all is printed? Can you paste the gemspec and gem env ?

  2. 2 Posted by Benoit Côté-Jod... on 24 Dec, 2010 02:23 AM

    Benoit Côté-Jodoin's Avatar

    Sure.

    Gem::Specification.new do |s|
        s.name        = "tilt-mustache"
        s.version     = "0.0.1"
        s.platform    = Gem::Platform::RUBY
        s.authors     = ["Benoit Côté-Jodoin"]
        s.email       = ["[email blocked]"]
        s.homepage    = "http://github.com/Becojo/tilt-mustache"
        s.summary     = %q{Add Mustache to Tilt}
        s.description = %q{Add Mustache to Tilt}
    
        s.add_dependency 'tilt'
        s.add_dependency 'mustache'
    
        s.files         = `git ls-files`.split("\n")
        s.require_paths = ["lib"]
    end
    

    And gem env

    RubyGems Environment:
        - RUBYGEMS VERSION: 1.3.7
        - RUBY VERSION: 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]
        - INSTALLATION DIRECTORY: c:/Ruby/lib/ruby/gems/1.8
        - RUBY EXECUTABLE: c:/Ruby/bin/ruby.exe
        - EXECUTABLE DIRECTORY: c:/Ruby/bin
        - RUBYGEMS PLATFORMS:
            - ruby
            - x86-mingw32
        - GEM PATHS:
             - c:/Ruby/lib/ruby/gems/1.8
             - c:/Users/Benoit/.gem/ruby/1.8
        - GEM CONFIGURATION:
             - :update_sources => true
             - :verbose => true
             - :benchmark => false
             - :backtrace => false
             - :bulk_threshold => 1000
        - REMOTE SOURCES:
             - http://rubygems.org/
    
  3. Support Staff 3 Posted by Nick Quaranto on 24 Dec, 2010 02:33 AM

    Nick Quaranto's Avatar

    There was no stack trace from gem push ?

    Two things I can see from the gemspec:

    Email should be a string, not an array.
    You should be using add_runtime_dependency instead of add_dependency.

  4. 4 Posted by Benoit Côté-Jod... on 24 Dec, 2010 02:54 AM

    Benoit Côté-Jodoin's Avatar

    I updated the gemspec. Rebuilded the gem. And pushed it .. and the same error happened.

    How to get the stack trace? something like gem push the.gem --backtrace ?

  5. Support Staff 5 Posted by Nick Quaranto on 18 Jan, 2011 03:37 AM

    Nick Quaranto's Avatar

    Any update here? Not seeing it pushed yet:

    http://rubygems.org/gems/tilt-mustache

    Can you paste the actual gemspec? (run gem spec the.gem)

  6. Nick Quaranto closed this discussion on 18 Jan, 2011 03:37 AM.

  7. Nick Quaranto re-opened this discussion on 18 Jan, 2011 03:37 AM

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

Recent Discussions

30 Oct, 2014 04:34 PM
30 Oct, 2014 02:46 PM
28 Oct, 2014 09:51 AM
23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM