Errno::EACCES: Permission denied @ rb_sysopen erro

2019-07-25 12:39发布

问题:

When I run Bundle Install I get the following error:

mark$ bundle install
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Using builder 3.2.2
Using ffi 1.9.14
Using gherkin 4.0.0
Using cucumber-wire 0.0.1
Using diff-lcs 1.2.5
Using multi_json 1.11.2
Using multi_test 0.1.2
Using rubyzip 1.2.0
Using websocket 1.2.3
Using bundler 1.11.2
Using childprocess 0.5.9
Using cucumber-core 1.5.0
Installing selenium-webdriver 2.53.4

Errno::EACCES: Permission denied @ rb_sysopen - /Users/mark/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/selenium-webdriver-2.53.4/CHANGES
Using cucumber 2.4.0
An error occurred while installing selenium-webdriver (2.53.4), and Bundler
cannot continue.
Make sure that `gem install selenium-webdriver -v '2.53.4'` succeeds before
bundling.

Any help how to resolve this would be greatly appreciated.