sonatype / nexus-ruby-support

26 stars 7 forks source link

no support for 'platform specific' gems #27

Closed flyinprogrammer closed 11 years ago

flyinprogrammer commented 11 years ago

currently:

$ gem nexus pkg/foo-0.0.12-java.gem Uploading gem to Nexus... something went wrong

I need to dig into this. and find out exactly what's going wrong and why.

flyinprogrammer commented 11 years ago

btw to create a platform specific gem you add something like this to your gemspec:

gem.platform      = Gem::Platform::JAVA
mkristian commented 11 years ago

When uploading a gem the filename gets check against the info from the gemspec from within the gem. You could try to remove Java from filename. That might work but could open up other problems, just never tested uploading platform dependent gems.

mkristian commented 11 years ago

so java gems do work now ;)

flyinprogrammer commented 11 years ago

you sir are just a fabulous human being! [pulling and testing latest]

flyinprogrammer commented 11 years ago

verified this works!!! made my day!!