You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
I have been working on automating the upload of a custom gem to nexus. In order to do so I have created a rake tasks which builds the gem and then runs the command 'gem nexus test-gem-1.0.0'. The task creates the credentials file and stores the url and the authorization within this file the same way the gem would.
When I try running 'gem nexus test-gem-1.0.0' I receive the following error:
Exception LoadError' at /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55 - cannot load such file -- rubygems/commands/nexus_command ExceptionLoadError' at /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:132 - cannot load such file -- rubygems/commands/nexus_command
Uploading gem to Nexus...
PUT https://test-test.com/nexus/content/repositories/hostedgems/gems/test-0.1.64.gem
use authorization
Exception `OpenSSL::SSL::SSLErrorWaitReadable' at /opt/chefdk/embedded/lib/ruby/2.1.0/openssl/buffering.rb:182 - read would block
something went wrong