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

Operation not permitted - getcwd (Errno::EPERM) #825

Closed
julio336 opened this issue Mar 8, 2022 · 4 comments
Closed

Operation not permitted - getcwd (Errno::EPERM) #825

julio336 opened this issue Mar 8, 2022 · 4 comments

Comments

@julio336
Copy link

julio336 commented Mar 8, 2022

After a simple test with the basic Setup I got this error:

Users/<username>/.rvm/rubies/ruby-3.0.0/lib/ruby/site_ruby/3.0.0/rubygems/bundler_version_finder.rb:54:in pwd': Operation not permitted - getcwd (Errno::EPERM)
from /Users//.rvm/rubies/ruby-3.0.0/lib/ruby/site_ruby/3.0.0/rubygems/bundler_version_finder.rb:54:in lockfile_contents' from /Users/<username>/.rvm/rubies/ruby-3.0.0/lib/ruby/site_ruby/3.0.0/rubygems/bundler_version_finder.rb:41:in lockfile_version'
from /Users//.rvm/rubies/ruby-3.0.0/lib/ruby/site_ruby/3.0.0/rubygems/bundler_version_finder.rb:10:in bundler_version' from /Users/<username>/.rvm/rubies/ruby-3.0.0/lib/ruby/site_ruby/3.0.0/rubygems/bundler_version_finder.rb:17:in block in prioritize!'
from /Users//.rvm/rubies/ruby-3.0.0/lib/ruby/site_ruby/3.0.0/rubygems/bundler_version_finder.rb:17:in find_index' from /Users/<username>/.rvm/rubies/ruby-3.0.0/lib/ruby/site_ruby/3.0.0/rubygems/bundler_version_finder.rb:17:in prioritize!'
from /Users//.rvm/rubies/ruby-3.0.0/lib/ruby/site_ruby/3.0.0/rubygems/dependency.rb:280:in matching_specs' from /Users/<username>/.rvm/rubies/ruby-3.0.0/lib/ruby/site_ruby/3.0.0/rubygems.rb:257:in find_spec_for_exe'
from /Users//.rvm/rubies/ruby-3.0.0/lib/ruby/site_ruby/3.0.0/rubygems.rb:284:in activate_bin_path' from /Users/<username>/.rvm/gems/ruby-3.0.0/bin/bundle:23:in

'`

I'm not sure if there is an issue of the gem or another thing.

@frenkel
Copy link

frenkel commented Apr 6, 2022

This is not an issue with this gem, because only files of bundler are listed. You're running a command in a directory that the current user has no permissions on (Was it removed? Is it not readable?).

Please close this issue if you agree. Thanks!

@julio336
Copy link
Author

But there is a problem with the gem working with Macbook M1, do you have any guide to make the gem functional?

@frenkel
Copy link

frenkel commented Apr 11, 2022

This is not an issue with this gem, because only files of ruby/bundler are listed in the backtrace.

@julio336
Copy link
Author

There is a problem with the cron file but it doesn't depend for the gem

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