# Locally served jekyll is broken

**URL:** <https://talk.jekyllrb.com/t/locally-served-jekyll-is-broken/6449>\
**Category:** Help\
**Created:** [September 20, 2021, 8:23am UTC](https://talk.jekyllrb.com/t/locally-served-jekyll-is-broken/6449 "2021-09-20T08:23:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dankey](https://avatars.discourse-cdn.com/v4/letter/d/59ef9b/32.png) [@dankey](https://talk.jekyllrb.com/u/dankey)\
**Post date:** [September 20, 2021, 8:23am UTC](https://talk.jekyllrb.com/t/locally-served-jekyll-is-broken/6449/1 "2021-09-20T08:23:37Z")

</div>

when running bundle exec jekyll i get the following error:  
`jekyll 3.9.0 | Error: no implicit conversion of Hash into Integer`  
`.../vendor/bundle/ruby/3.0.0/gems/pathutil-0.16.2/lib/pathutil.rb:502:in `read': no implicit conversion of Hash into Integer (TypeError)`

i’ve heard it may be related to the ruby version so i changed  
`rvm use 2.7.0 --default`  
even after that it still fails with the initial error, probably not having the effect i anticipated bc it still uses 3.0.0.

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [September 20, 2021, 4:06pm UTC](https://talk.jekyllrb.com/t/locally-served-jekyll-is-broken/6449/2 "2021-09-20T16:06:39Z")

</div>

Try comment out everything in your config and build again.

Then uncomment sections one by one and check at each point

Also you can search the forums for your exact error.

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [September 20, 2021, 4:08pm UTC](https://talk.jekyllrb.com/t/locally-served-jekyll-is-broken/6449/3 "2021-09-20T16:08:17Z")

</div>

Also the good old approach is make a new jekyll site locally with minimal content and see if it runs.

And then move content from one repo to the other until you see a change in failing state

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [September 20, 2021, 4:08pm UTC](https://talk.jekyllrb.com/t/locally-served-jekyll-is-broken/6449/4 "2021-09-20T16:08:51Z")

</div>

If you run Jekyll with --verbose you’ll also see what Jekyll was doing just before it errored
