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

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
<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. do |s|        = "tilt-mustache"
        s.version     = "0.0.1"
        s.platform    = Gem::Platform::RUBY
        s.authors     = ["Benoit Côté-Jodoin"]       = ["[email blocked]"]
        s.homepage    = ""
        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"]

    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
            - ruby
            - x86-mingw32
        - GEM PATHS:
             - c:/Ruby/lib/ruby/gems/1.8
             - c:/Users/Benoit/.gem/ruby/1.8
             - :update_sources => true
             - :verbose => true
             - :benchmark => false
             - :backtrace => false
             - :bulk_threshold => 1000
  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:

    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)

Attaching KB article:


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


? 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