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

Open
LisBerndt opened this issue Sep 26, 2019 · 2 comments
Open

Not able to install/update gems #5892

LisBerndt opened this issue Sep 26, 2019 · 2 comments

Comments

@LisBerndt
Copy link

Hello!

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 9.2.8.0 (2.5.3) (tried 9.2.6.0 as well).
Windows 10, 64-bit, Java 64-bit

@headius
Copy link
Member

headius 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.

@LisBerndt
Copy link
Author

It´s java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
And I tried several other versions.

Countless times I tried to install gems by verbose after de- and reinstalling jruby as well as java.

Installing Ruby (ie not Jruby) works fine.

And here another point: on an other pc with the exactly same configurations there a no such problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants