Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to install/update gems #5892

PfrLisBerndt opened this issue Sep 26, 2019 · 1 comment


Copy link

commented Sep 26, 2019


I try to install/update my gems, but I always see the same behavior:

Fetching [gem].gem (100%)
ERROR: While executing gem ... (Gem::Package::Formaterror)
package is corrupt, exceeption while verifying: undefined method 'path2class' for #<Psych:: ClassLoader::Restricted:0x33956d1a> (NoMethodError) C:...[gem].gem

I found some older thread which are about this problem, but no hint helped.

I reinstalled jruby and java several times, it´s always the same.

jruby (2.5.3) (tried as well).
Windows 10, 64-bit, Java 64-bit


This comment has been minimized.

Copy link

commented Oct 16, 2019

This is a new one to me!

We need more information. What version of Java/JDK? Can you try to install with gem install --verbose or some similar logging flag? I have zero ideas what this would be right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.