Internal server error when pushing gem

Amir Barylko's Avatar

Amir Barylko

17 Dec, 2010 03:40 AM

Hi,

I created a gem today with some .NET .dll.

When I tried to push the gem (after installing it locally to test) I get the following message (no backtrace provided):

Internal Server Error

Here is the rake task using jeweler:

require 'rubygems'    

require 'rake/clean'

namespace :jeweler do
    require 'jeweler'  
    
    Jeweler::Tasks.new do |gs|
        gs.name = "fluentribbon"
        gs.summary = "WPF Ribbon similar to MS Office 2010"
        gs.description = "Fluent Ribbon Control Suite is a library that implements an Office-like (Microsoft® Office Fluent™ user interface) 
for the Windows Presentation Foundation (WPF). It provides well-customized controls such as RubbonTabControl, 
Backstage, Gallery, QuickAccessToolbar, ScreenTip and so on. It is bundled with the most up-to-date Office 2010 styles."
        gs.email = "[email blocked]"
        gs.homepage = "http://fluent.codeplex.com/"
        gs.authors = ["[email blocked]"]
        gs.has_rdoc = false  
        gs.rubyforge_project = 'fluentribbon'  
        gs.files = Dir.glob("lib/**/*")
    end
end
  1. Support Staff 1 Posted by Nick Quaranto on 17 Dec, 2010 03:14 PM

    Nick Quaranto's Avatar

    Can you paste the stack trace that gem push returns?

    Also, shouldn't you be uploading this to NuGet/NuPack? I thought doing .NET rubygems was kind of obsoleted by that. You can get a hold of http://twitter.com/drusellers or http://twitter.com/ferventcoder for help with that.

  2. 2 Posted by Amir Barylko on 18 Dec, 2010 03:33 AM

    Amir Barylko's Avatar

    Hi Nick,

    I run the push with "--backtrace --debug" but nothing appears. Should I run
    it with some other parameter?

    In terms of using NuGet, last time I checked u can use it to find the
    packages and add it using the IDE or command line but there is no tool like
    bundler to download the packages when u need them, so u still have to store
    them in the repository.

    That is why I use gems, I find the bundler + noodle very convenient.

    Thanks,

    Amir.

    On Fri, Dec 17, 2010 at 9:14 AM, Nick Quaranto <
    [email blocked]<tender%[email blocked]>
    > wrote:

  3. Support Staff 3 Posted by Nick Quaranto on 18 Dec, 2010 04:23 PM

    Nick Quaranto's Avatar

    Those flags won't help, it should show a stack trace after you push the gem, just paste what you see.

    As for the NuGet issue, I was pretty confident in the fact that there shouldn't be any need to publish more gems full of .DLL's that won't benefit the Ruby community to the site. I was open to experimenting as Rob and Dru tried out the idea, but I'm getting wary to add more in the system if a fully supported MS implementation in VS now exists.

    I've added Rob and Dru to this conversation to clarify, please do :)

  4. 4 Posted by Dru Sellers on 18 Dec, 2010 04:32 PM

    Dru Sellers's Avatar

    Hi Nick!

    Hello Amir,

    I would suggest taking another look at NuGet, to be sure it doesn't have what you need. There is a VS ide add in plus a command line tool that should do just what you need.

    I agree with Nick and would add that it doesn't make sense to put .Net code on a ruby site. However, I can't say it enough, gems is pretty frigging awesome and so is gemcutter, so if you are set on using this tooling (although please check out the NuGet platform and give us any feedback you have!!! <- important - feedback) I would be more than happy to shoot you my setup script to get a gemcutter server up and running.

  5. 5 Posted by Amir Barylko on 19 Dec, 2010 04:21 AM

    Amir Barylko's Avatar

    Hi Nick,

    There is no stack trace beside the message I mentioned before.

    Sorry about publishing gems that "don't benefit the Ruby community", I
    wasn't aware of that policy, I love ruby & gems and bundler is an awesome
    tool so I thought that could be beneficial for the .NET community until the
    same tool is available and mature enough to use.

    I'll check again to see if I can use NuGet (or try to collaborate to create
    a tool similar to bundler) or maybe use OpenWrap.

    Thanks for the help :-)

    Amir.

    On Sat, Dec 18, 2010 at 10:23 AM, Nick Quaranto <
    [email blocked]<tender%[email blocked]>
    > wrote:

  6. 6 Posted by Amir Barylko on 19 Dec, 2010 04:24 AM

    Amir Barylko's Avatar

    Hi Dru,

    I'll take another look, maybe the tool that does the same thing as bundler
    already exists.

    I did explore adding packages and even creating my own, however when I
    realized that I still have to store my packages in source control I was a
    bit disappointed. Maybe that has changed.

    I do have my own gem server running, thanks for the offer :-)

    I just wanted to share the "gems" that I found useful with others.

    Thanks for your comments,

    Cheers.

    Amir.

    On Sat, Dec 18, 2010 at 10:33 AM, Dru Sellers <
    [email blocked]<tender%[email blocked]>
    > wrote:

  7. 7 Posted by ferventcoder on 20 Dec, 2010 03:37 AM

    ferventcoder's Avatar

    One thing NuGet will not address is application gems. We may still set up a gems server somewhere so it can be used.

    If you are interested in completely wiping off the .NET stuff, you may also want to talk to the folks who came up with Noodle.

    https://github.com/spraints/noodle

  8. 8 Posted by Amir Barylko on 20 Dec, 2010 06:24 AM

    Amir Barylko's Avatar

    I'm not sure what you mean by "address application gems" and "completely
    wiping off the .NET stuff".

    I don't expect NuGet to handle gems at all, that was never my intention. It
    would be cool to have another server for .NET gems though.

    I'm already using noodle to copy the dependencies to my local "lib" folder.

    What I'm planning to do is to use NuGet and build with an app/script that
    looks for the dependencies in every project and does the installation for
    you using the NuGet library. That would emulate part of "bundler"
    functionality and I'll avoid storing the dependencies in source control.

    Thanks for your answer.

    Cheers.

    Amir.

    On Sun, Dec 19, 2010 at 9:37 PM, ferventcoder <
    [email blocked]<tender%[email blocked]>
    > wrote:

  9. 9 Posted by ferventcoder on 20 Dec, 2010 06:38 AM

    ferventcoder's Avatar

    Sorry Amir, that was for Nick.

    Not much of what I said really makes sense without more context if you are just focusing on this conversation alone. Sorry about that.

    There are two types of gems that .NET cares about. One is library gems and the other is application gems. NuGet addresses library gems (read: dlls), but is not really intended to bring executables (applications) to your machines. That is where CoApp is supposed to come in at some point.

    To give you an idea of an application:
    gem install papercut
    papercut

    That is a little smtp redirecting application for testing smtp access and seeing the messages. That is an application gem.

    Noodle is a .NET bundler like application built by a couple of guys and they are probably oblivious to this whole idea of removing the .NET gems at some point. I don't know how many of their own they put up, but they were a small community that sprang up right after Nu (Nubular | NuProj) and used gems (from what we could tell) that were put up by the NuProj community. They might want a little warning, but there is also figuring out how to get a hold of them.

  10. 10 Posted by Amir Barylko on 20 Dec, 2010 06:47 AM

    Amir Barylko's Avatar

    I thought that u could add binaries to the NuGet package... isn't that part
    of the spec?

    On Mon, Dec 20, 2010 at 12:38 AM, ferventcoder <
    [email blocked]<tender%[email blocked]>
    > wrote:

  11. 11 Posted by ferventcoder on 20 Dec, 2010 04:44 PM

    ferventcoder's Avatar

    Did you happen to try out my example? With some application gems, it wouldn't make sense to be at a project level (not like visual studio project, but like solution level), only at a machine level.

  12. 12 Posted by Amir Barylko on 20 Dec, 2010 06:30 PM

    Amir Barylko's Avatar

    Sorry, what example?

    On Mon, Dec 20, 2010 at 10:44 AM, ferventcoder <
    [email blocked]<tender%[email blocked]>
    > wrote:

  13. Support Staff 13 Posted by Nick Quaranto on 18 Jan, 2011 03:35 AM

    Nick Quaranto's Avatar

    Haven't seen an update here in a while, if there's still an issue feel free to update us.

  14. Nick Quaranto closed this discussion on 18 Jan, 2011 03:35 AM.

  15. Amir Barylko re-opened this discussion on 23 Jan, 2011 03:44 PM

  16. 14 Posted by Amir Barylko on 23 Jan, 2011 03:44 PM

    Amir Barylko's Avatar

    Hi Nick,

    Thanks for following up. Really appreciate your help.

    I haven't tried again, I was under the impression that you would prefer that
    I would use NuGet instead.

    Thanks.

    Amir.

    On Mon, Jan 17, 2011 at 9:35 PM, Nick Quaranto <
    [email blocked]<tender%[email blocked]>
    > wrote:

  17. Nick Quaranto closed this discussion on 29 Jan, 2011 07:29 PM.

Comments are currently closed for this discussion. You can start a new one.

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

23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM
18 Oct, 2014 08:39 PM
16 Oct, 2014 12:41 PM
06 Oct, 2014 02:30 PM