Operation not permitted @ dir_initialize

Please excuse such a beginner question.
Running bundle exec jekyll serve
I get:

in `open': **Operation not permitted @ dir_initialize - . (** **Errno::EPERM** **)**

from /Users/user/.gem/ruby/3.0.0/gems/jekyll-4.2.1/lib/jekyll/reader.rb:47:in `entries'

from /Users/user/.gem/ruby/3.0.0/gems/jekyll-4.2.1/lib/jekyll/reader.rb:47:in `block in read_directories'

When I first tried serve I accidentally refused to give jekyll access to photos.
Thank you!

Run with

--trace

And for a lot more detail

--verbose

I don’t know what you mean on permissions and what prompt you got. Jekyll needs to read files in the repo you are working on.

You can try rename or move the directory and run again.

1 Like

Hello @MichaelCurrin,
thanks! verbose did the trick:
The following worked:
bundle add webrick
from:

1 Like