I have followed the installation process on the jekyll website and this website: https://desiredpersona.com/install-jekyll-on-macos/
I believe the issue is to do with setting the path variables and perhaps version conflicts.
here is the output from gem env.
RubyGems Environment:
- RUBYGEMS VERSION: 3.2.3
- RUBY VERSION: 3.0.0 (2020-12-25 patchlevel 0) [x86_64-darwin20]
- INSTALLATION DIRECTORY: /Users/michaelclouting/gems
- USER INSTALLATION DIRECTORY: /Users/michaelclouting/.local/share/gem/ruby/3.0.0
- RUBY EXECUTABLE: /Users/michaelclouting/.rbenv/versions/3.0.0/bin/ruby
- GIT EXECUTABLE: /usr/bin/git
- EXECUTABLE DIRECTORY: /Users/michaelclouting/gems/bin
- SPEC CACHE DIRECTORY: /Users/michaelclouting/.local/share/gem/specs
- SYSTEM CONFIGURATION DIRECTORY: /Users/michaelclouting/.rbenv/versions/3.0.0/etc
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-darwin-20
- GEM PATHS:
- /Users/michaelclouting/gems
- /Users/michaelclouting/.local/share/gem/ruby/3.0.0
- /Users/michaelclouting/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/
- SHELL PATH:
- /Users/michaelclouting/.rbenv/versions/3.0.0/bin
- /usr/local/Cellar/rbenv/1.1.2/libexec
- /Users/michaelclouting/.rbenv/shims
- /usr/local/opt/ruby/bin
- /usr/local/opt/ruby/bin
- /Users/michaelclouting/.gem/ruby/3.0.0/bin
- /usr/local/opt/ruby/bin
- /usr/local/opt/ruby/bin
- /usr/local/opt/ruby/bin
- /usr/local/opt/ruby/bin
- /Users/michaelclouting/.gem/ruby/3.0.0/bin
- /usr/local/opt/ruby/bin
- /usr/local/opt/ruby/bin
- /usr/local/opt/ruby/bin
- /usr/local/opt/ruby/bin
- /Users/michaelclouting/.gem/ruby/3.0.0/bin
- /usr/local/opt/ruby/bin
- /usr/local/opt/ruby/bin
- /Users/michaelclouting/.gem/ruby/3.0.0/bin
- /usr/local/opt/ruby/bin
- /usr/local/opt/ruby/bin
- /usr/local/bin
- /usr/bin
- /bin
- /usr/sbin
- /sbin