Issue with bundler.lock
jessicalynn opened this issue · 0 comments
jessicalynn commented
Hello! I'm running into an issue setting up this template, and thought I'd toss this out there in case you're able to assist as I'm not really familiar with Ruby. I've gotten to the point where I try to run "bundle", and I keep getting the following error:
Backtrace
Errno::EPERM: Operation not permitted @ rb_sysopen - /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0/bundler.lock
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:9:in `initialize'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:9:in `open'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:9:in `lock'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/installer.rb:72:in `run'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/installer.rb:24:in `install'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/cli/update.rb:69:in `run'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:310:in `block in update'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/settings.rb:115:in `temporary'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:309:in `update'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/exe/bundle:49:in `block in <top (required)>'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
/Users/jessicastevens/.local/share/gem/ruby/2.6.0/gems/bundler-2.2.3/exe/bundle:37:in `<top (required)>'
/usr/bin/bundle:23:in `load'
/usr/bin/bundle:23:in `<main>'
Environment
Bundler 2.2.3
Platforms ruby, universal-darwin-20
Ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.arm64e-darwin20]
Full Path /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Config Dir /Library/Ruby/Site
RubyGems 3.3.9
Gem Home /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0
Gem Path /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0:/Users/jessicastevens/.local/share/gem/ruby/2.6.0
User Home /Users/jessicastevens
User Path /Users/jessicastevens/.local/share/gem/ruby/2.6.0
Bin Dir /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin
OpenSSL
Compiled LibreSSL 2.8.3
Loaded LibreSSL 2.8.3
Cert File /private/etc/ssl/cert.pem
Cert Dir /private/etc/ssl/certs
Tools
Git 2.24.3 (Apple Git-128)
RVM not installed
rbenv rbenv 1.2.0
chruby not installed
Bundler Build Metadata
Built At 2020-12-22
Git SHA 29dc3c8398
Released Version true
Gemfile
Gemfile
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
gem "jekyll", "~> 4.0"
gem "jekyll-last-modified-at", git: "https://github.com/maximevaillancourt/jekyll-last-modified-at", branch: "add-support-for-files-in-git-submodules"
gem "webrick", "~> 1.7"
gem "nokogiri"
Gemfile.lock
GIT
remote: https://github.com/maximevaillancourt/jekyll-last-modified-at
revision: e0c918691db625401ef5850a030da59d0124d356
branch: add-support-for-files-in-git-submodules
specs:
jekyll-last-modified-at (1.3.0)
jekyll (>= 3.7, < 5.0)
posix-spawn (~> 0.3.9)
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.7)
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.14.2)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (1.8.5)
concurrent-ruby (~> 1.0)
jekyll (4.2.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.3.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.3.3)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
mini_portile2 (2.6.1)
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
posix-spawn (0.3.15)
public_suffix (4.0.6)
racc (1.5.2)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.26.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.7.0)
webrick (1.7.0)
PLATFORMS
ruby
DEPENDENCIES
jekyll (~> 4.0)
jekyll-last-modified-at!
nokogiri
webrick (~> 1.7)
BUNDLED WITH
2.2.3
Now, I did try to manually update the Bundler to 2.2.3 to avoid conflicts, but that doesn't seem to have helped. Do you have any other suggestions? Thanks so much if you took the time to look at this!