# NameError: uninitialized constant LiquidFilter

**URL:** <https://talk.jekyllrb.com/t/nameerror-uninitialized-constant-liquidfilter/8801>\
**Category:** Help\
**Created:** [December 31, 2023, 2:21am UTC](https://talk.jekyllrb.com/t/nameerror-uninitialized-constant-liquidfilter/8801 "2023-12-31T02:21:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JackieGable](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/jackiegable/32/4300_2.png) [@JackieGable](https://talk.jekyllrb.com/u/JackieGable)\
**Post date:** [December 31, 2023, 2:21am UTC](https://talk.jekyllrb.com/t/nameerror-uninitialized-constant-liquidfilter/8801/1 "2023-12-31T02:21:05Z")

</div>

Hi, I need help troubleshooting an error:  
After running this in the terminal:  
bundle exec jekyll serve --open-url [http://localhost:4000/](http://localhost:4000/) --trace  
I get this error:

```auto
C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-liquify-0.0.3/lib/jekyll-liquify.rb:15:in `<top (required)>': uninitialized constant LiquidFilter (NameError)
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.3/lib/bundler/runtime.rb:60:in `require'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.3/lib/bundler/runtime.rb:60:in `block (2 levels) in require'        
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.3/lib/bundler/runtime.rb:55:in `each'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.3/lib/bundler/runtime.rb:55:in `block in require'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.3/lib/bundler/runtime.rb:44:in `each'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.3/lib/bundler/runtime.rb:44:in `require'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/bundler-2.5.3/lib/bundler.rb:187:in `require'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.3.3/lib/jekyll/plugin_manager.rb:53:in `require_from_bundler'
        from C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/jekyll-4.3.3/exe/jekyll:11:in `<top (required)>'
        from C:/Ruby30-x64/bin/jekyll:25:in `load'
        from C:/Ruby30-x64/bin/jekyll:25:in `<main>'

```

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [December 31, 2023, 4:18pm UTC](https://talk.jekyllrb.com/t/nameerror-uninitialized-constant-liquidfilter/8801/2 "2023-12-31T16:18:47Z")

</div>

what is the full output from the console including the command you ran?

---

<div class="post-metadata">

**Author:** ![JackieGable](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/jackiegable/32/4300_2.png) [@JackieGable](https://talk.jekyllrb.com/u/JackieGable)\
**Post date:** [December 31, 2023, 10:04pm UTC](https://talk.jekyllrb.com/t/nameerror-uninitialized-constant-liquidfilter/8801/3 "2023-12-31T22:04:19Z")

</div>

Thank you @rdyar for your help. I asked chatGPT about it and was advised to remove the ‘jekyll-liquify’ gem and then run bundle and it built as expected. I’m not sure why I had the jekyll-liquify gem in there anyway. I guess it’s not needed to render the code?

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [January 1, 2024, 12:39am UTC](https://talk.jekyllrb.com/t/nameerror-uninitialized-constant-liquidfilter/8801/4 "2024-01-01T00:39:57Z")

</div>

it looks like that gem allows you to use liquid inside a frontmatter variable. As long as you are not doing that you should be fine. But since you had it in there maybe you are using it somewhere?
