# Missing gem even though I've installed it

**URL:** <https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031>\
**Category:** Help\
**Created:** [March 8, 2020, 4:24pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031 "2020-03-08T16:24:10Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [March 8, 2020, 4:24pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/1 "2020-03-08T16:24:10Z")

</div>

I’m trying to run `bundle exec jekyll serve` in Terminal and when I do, I receive this.

```
Could not find gem 'autoprefixer-rails' in any of the gem sources listed in your Gemfile.

Run `bundle install` to install missing gems.

```

So I run `gem install autoprefixer-rails`

and I get

```
Successfully installed autoprefixer-rails-9.7.4

Parsing documentation for autoprefixer-rails-9.7.4

Done installing documentation for autoprefixer-rails after 0 seconds

1 gem installed

```

and I run `bundle exec jekyll serve` again, and I run into the same message as before.

Help anyone?

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [March 8, 2020, 5:10pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/2 "2020-03-08T17:10:17Z")

</div>

The message is asking you to run `bundle install` not `gem install ...`

---

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [March 8, 2020, 5:23pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/3 "2020-03-08T17:23:43Z")

</div>

![Screen Shot 2020-03-08 at 12.23.12 PM](https://canada1.discourse-cdn.com/flex030/uploads/jekyllrb/original/2X/b/b890397f3aef6bac64aebfe5990b134c5642e5c8.png)

Here’s a screenshot. Might be more useful.

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [March 8, 2020, 5:32pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/4 "2020-03-08T17:32:38Z")

</div>

Interesting. Bundler is not able to install fresh native extensions.  
What is the output when you run `bundle config path`?

**Edit:** Nevermid that. I think the problem is that your directory path contains a space:  
`/Google Drive/`. Try renaming the directory to `GoogleDrive` or `Google_Drive`…

Then rename `003 Faculty` to something without the space…

---

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [March 8, 2020, 5:47pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/5 "2020-03-08T17:47:13Z")

</div>

![Screen Shot 2020-03-08 at 12.44.21 PM](https://canada1.discourse-cdn.com/flex030/uploads/jekyllrb/original/2X/a/aae294d0ecf23e8e24f22b56481c7898e3da6573.png) Tried that. No luck still.

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [March 8, 2020, 5:48pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/6 "2020-03-08T17:48:28Z")

</div>

Yes, that’s because `003 Faculty` has a space too…

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [March 8, 2020, 6:02pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/7 "2020-03-08T18:02:19Z")

</div>

Did you try renaming `003 Faculty` to something without the space…?

---

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [March 8, 2020, 6:11pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/8 "2020-03-08T18:11:30Z")

</div>

Yeah, that seemed to work. Weird… It was never an issue before? Does it have something to do with the new MacOs update?

So I ran `bundle exec jekyll serve` and it seems to be running now, minus all the errors appearing.

```
Christians-MacBook-Pro:000F-Website christians$ bundle exec jekyll serve
Configuration file: /Users/christians/google-drive/003-faculty/000F-Website/_config.yml
            Source: /Users/christians/google-drive/003-faculty/000F-Website
       Destination: /Users/christians/google-drive/003-faculty/000F-Website/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:432: warning: Passing the keyword argument as the last hash parameter is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:75: warning: The called method `merge_data!' is defined here
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:439: warning: Passing the keyword argument as the last hash parameter is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:75: warning: The called method `merge_data!' is defined here
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/document.rb:466: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/convertible.rb:41: warning: Using the last argument as keyword parameters is deprecated
  Liquid Exception: Liquid syntax error (line 1): Unknown tag 'img' in /Users/christians/google-drive/003-faculty/000F-Website/_posts/2019-06-01-visual-poetry.md
                    ------------------------------------------------
      Jekyll 4.0.0 Please append `--trace` to the `serve` command 
                     for any additional information or backtrace. 
                    ------------------------------------------------
Traceback (most recent call last):
	50: from /usr/local/opt/ruby/bin/bundle:23:in `<main>'
	49: from /usr/local/opt/ruby/bin/bundle:23:in `load'
	48: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>'
	47: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors'
	46: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>'
	45: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start'
	44: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
	43: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch'
	42: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
	41: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	40: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	39: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec'
	38: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run'
	37: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load'
	36: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load'
	35: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bin/jekyll:23:in `<top (required)>'
	34: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bin/jekyll:23:in `load'
	33: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/exe/jekyll:15:in `<top (required)>'
	32: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
	31: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
	30: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
	29: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
	28: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
	27: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
	26: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in `process_with_graceful_fail'
	25: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in `each'
	24: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:89:in `block in process_with_graceful_fail'
	23: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/commands/build.rb:36:in `process'
	22: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/commands/build.rb:65:in `build'
	21: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/command.rb:28:in `process_site'
	20: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:76:in `process'
	19: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:201:in `render'
	18: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:507:in `render_docs'
	17: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:507:in `each_value'
	16: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:508:in `block in render_docs'
	15: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:508:in `each'
	14: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:509:in `block (2 levels) in render_docs'
	13: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/site.rb:523:in `render_regenerated'
	12: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/renderer.rb:63:in `run'
	11: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/renderer.rb:80:in `render_document'
	10: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/renderer.rb:122:in `render_liquid'
	 9: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/liquid_renderer/file.rb:12:in `parse'
	 8: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/liquid_renderer/file.rb:60:in `measure_time'
	 7: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/jekyll-4.0.0/lib/jekyll/liquid_renderer/file.rb:13:in `block in parse'
	 6: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:116:in `parse'
	 5: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:132:in `parse'
	 4: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/document.rb:5:in `parse'
	 3: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/document.rb:10:in `parse'
	 2: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:32:in `parse'
	 1: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/document.rb:11:in `block in parse'
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/document.rb:23:in `unknown_tag': Liquid syntax error (line 1): Unknown tag 'img' (Liquid::SyntaxError)
```

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [March 8, 2020, 6:17pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/9 "2020-03-08T18:17:23Z")

</div>

Can’t say for certain if its the macOS update. It was always noted that installing native extensions in a path containing spaces can lead to bugs… 🤷‍♂️

Regarding the current load of warnings you see…, it is explicitly because of Ruby 2.7.0.  
They will go way when Jekyll releases v4.1… Until then you can edit your Gemfile to point to the Jekyll GitHub repository if you want…

---

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [March 8, 2020, 6:20pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/10 "2020-03-08T18:20:51Z")

</div>

How can I edit my Gemfile to do that?

Sorry for all the questions. Jekyll has always run so smoothly.

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [March 8, 2020, 6:23pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/11 "2020-03-08T18:23:32Z")

</div>

Edit your Gemfile so that it looks like the following:

```ruby
gem 'jekyll', github: 'jekyll/jekyll'

```

---

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [March 8, 2020, 6:26pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/12 "2020-03-08T18:26:10Z")

</div>

![Screen Shot 2020-03-08 at 1.24.47 PM](https://canada1.discourse-cdn.com/flex030/uploads/jekyllrb/original/2X/7/75e65ab83a88ced8f9214b93c2615a0458f8a4e8.png)

This is what is currently in my Gemfile. Which should I replace?

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [March 8, 2020, 6:28pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/13 "2020-03-08T18:28:07Z")

</div>

Line 5:

```ruby
gem "jekyll"

```

to

```ruby
gem 'jekyll', github: 'jekyll/jekyll'

```

---

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [March 8, 2020, 6:32pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/14 "2020-03-08T18:32:02Z")

</div>

Alright so I did that and ran

```
Christians-MacBook-Pro:000F-Website christians$ bundle exec jekyll serve

The git source https://github.com/jekyll/jekyll.git is not yet checked out. Please run `bundle install` before trying to start your application

Christians-MacBook-Pro:000F-Website christians$ bundle install
Fetching https://github.com/jekyll/jekyll.git
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "mercenary":
  In snapshot (Gemfile.lock):
    mercenary (= 0.3.6)

  In Gemfile:
    html-proofer was resolved to 3.15.1, which depends on
      mercenary (~> 0.3)

    jekyll-sitemap was resolved to 1.4.0, which depends on
      jekyll (>= 3.7, < 5.0) was resolved to 4.0.0, which depends on
        mercenary (~> 0.4.0)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

```

so I ran `bundle update`, which worked successfully and now when I run `bundle exec jekyll serve` again, I receive this:

```
Christians-MacBook-Pro:000F-Website christians$ bundle exec jekyll serve
Configuration file: /Users/christians/google-drive/003-faculty/000F-Website/_config.yml
            Source: /Users/christians/google-drive/003-faculty/000F-Website
       Destination: /Users/christians/google-drive/003-faculty/000F-Website/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
  Liquid Exception: Liquid syntax error (line 1): Unknown tag 'img' in /Users/christians/google-drive/003-faculty/000F-Website/_posts/2019-06-01-visual-poetry.md
                    ------------------------------------------------
      Jekyll 4.0.0 Please append `--trace` to the `serve` command 
                     for any additional information or backtrace. 
                    ------------------------------------------------
Traceback (most recent call last):
	50: from /usr/local/opt/ruby/bin/bundle:23:in `<main>'
	49: from /usr/local/opt/ruby/bin/bundle:23:in `load'
	48: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>'
	47: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors'
	46: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>'
	45: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start'
	44: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
	43: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch'
	42: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
	41: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	40: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	39: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec'
	38: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run'
	37: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load'
	36: from /Users/christians/.gem/ruby/2.7.0/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load'
	35: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bin/jekyll:23:in `<top (required)>'
	34: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bin/jekyll:23:in `load'
	33: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/exe/jekyll:15:in `<top (required)>'
	32: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
	31: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
	30: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
	29: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
	28: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
	27: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
	26: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
	25: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/command.rb:91:in `each'
	24: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
	23: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/commands/build.rb:36:in `process'
	22: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/commands/build.rb:65:in `build'
	21: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/command.rb:28:in `process_site'
	20: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/site.rb:76:in `process'
	19: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/site.rb:201:in `render'
	18: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/site.rb:507:in `render_docs'
	17: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/site.rb:507:in `each_value'
	16: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/site.rb:508:in `block in render_docs'
	15: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/site.rb:508:in `each'
	14: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/site.rb:509:in `block (2 levels) in render_docs'
	13: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/site.rb:523:in `render_regenerated'
	12: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/renderer.rb:63:in `run'
	11: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/renderer.rb:80:in `render_document'
	10: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/renderer.rb:122:in `render_liquid'
	 9: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/liquid_renderer/file.rb:12:in `parse'
	 8: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/liquid_renderer/file.rb:60:in `measure_time'
	 7: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/bundler/gems/jekyll-a1c18b6e8712/lib/jekyll/liquid_renderer/file.rb:13:in `block in parse'
	 6: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:116:in `parse'
	 5: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/template.rb:132:in `parse'
	 4: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/document.rb:5:in `parse'
	 3: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/document.rb:10:in `parse'
	 2: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:32:in `parse'
	 1: from /Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/document.rb:11:in `block in parse'
/Users/christians/google-drive/003-faculty/000F-Website/vendor/bundle/ruby/2.7.0/gems/liquid-4.0.3/lib/liquid/document.rb:23:in `unknown_tag': Liquid syntax error (line 1): Unknown tag 'img' (Liquid::SyntaxError)
```

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [March 8, 2020, 6:38pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/15 "2020-03-08T18:38:59Z")

</div>

Frustrating isn’t it?  
You were probably using `jekyll-assets` before. But removed it for some reason… (😈)

The other thing is `jekyll-assets` has not released a Jekyll 4.0 compatible version yet. I’m not totally familiar with that project though so can’t really recommend that you try pointing your Gemfile to the plugin’s GitHub repository…

---

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [March 8, 2020, 6:46pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/16 "2020-03-08T18:46:45Z")

</div>

Super super frustrating.

I added `jekyll-assets` back in because a _certain someone_!! told me to remove it.

Still running into the same issue. Here’s my repository: [https://github.com/christiantype/Faculty-One](https://github.com/christiantype/Faculty-One)

So is there just nothing I can do?

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [March 8, 2020, 6:51pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/17 "2020-03-08T18:51:41Z")

</div>

If your site builds fine with Jekyll 3.8, use that instead of the jekyll `master`.  
Yes, you’ll have those warnings. You can search the internet for tips to turn them off…

---

<div class="post-metadata">

**Author:** ![solochris14](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/solochris14/32/2319_2.png) [@solochris14](https://talk.jekyllrb.com/u/solochris14)\
**Post date:** [March 8, 2020, 7:00pm UTC](https://talk.jekyllrb.com/t/missing-gem-even-though-ive-installed-it/4031/18 "2020-03-08T19:00:56Z")

</div>

> [@ashmaroli](#):
>
> Jekyll 3.8

Last question. How do I use that instead of jekyll master?

If that doesn’t work. I think I’m just going to start my website from scratch.
