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

require 'google/protobuf' fails on ruby gem version 3.4.1 x86_64-linux under nonroot user #3646

Closed
Mamut3D opened this issue Sep 15, 2017 · 2 comments

Comments

@Mamut3D
Copy link

Mamut3D commented Sep 15, 2017

Latest version of the ruby gem cannot be required in code. Tested on docker container ruby:2.4.1
Gem works under root, however nonroot users requiring 'google/protobuf' get the following error:

> irb(main):001:0> require 'google/protobuf'
LoadError: cannot load such file -- google/protobuf
        from /usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in `require'
        from /usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:133:in `rescue in require'
        from /usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:40:in `require'
        from (irb):1
        from /usr/local/bin/irb:11:in `<main>'

Issue seems similar to #3509

@liujisi
Copy link
Contributor

liujisi commented Sep 15, 2017

I cannot reproduce locally. I can install and import google/protobuf not as root. Is this an installation issue?

@liujisi
Copy link
Contributor

liujisi commented Sep 15, 2017

I yanked the 3.4.1 gems and pushed 3.4.1.1 gems. Please let me know if you still see issues.

@liujisi liujisi closed this as completed Sep 15, 2017
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