sonatype / nexus-ruby-support

26 stars 7 forks source link

Gems with underscore "_" in the name cannot be proxied #46

Open eddiewebb opened 10 years ago

eddiewebb commented 10 years ago

Looks to be the same issue as #34 but specific to gems with "_" in the name.

I think the regexp just needs to be updated to include.

see my comment on the last fix. https://github.com/sonatype/nexus-ruby-support/commit/15c911835edd6c4c635d3547088e7dc758b5b880#commitcomment-4191033

tedpennings commented 10 years ago

+1

mkristian commented 10 years ago

I guess I need more input since I see on the client side

$ gem install thread_safe
Fetching: thread_safe-0.1.3.gem (100%)
Successfully installed thread_safe-0.1.3
1 gem installed

and the server side has no 404 in the logs. and the regexp which caused the old problems was to store the gems into nested directories with the first letter as directory names.

so I would need more input on what exactly triggers the 404, i.e. if you use bundler the Gemfile is usually very helpful. a gist of the log might also help (debug if possible)