Gem install jekyll version2/19/2023 ![]() ![]() If that doesn’t help or you are using an older template, please try installing webrick globally using gem install webrick or adding it to your project Gemfile using bundle add webrick in the project directory. First, the CB template “Gemfile” includes webrick, so make sure you are using bundle exec jekyll s. On Windows it may appear as if nothing is happening for a very very long time, since the terminal does not provide a progress bar, be patient!ĭebugging Note: if you have Ruby version 3.0+ and Jekyll version 4.2.0 or less, when using Jekyll you may encounter an error in your terminal including “cannot load such file – webrick (LoadError)”. This process will take awhile as Gem installs all the dependencies and builds extensions. The following commands will add environment variables to your /.bashrc file to configure the gem. Instead, set up a gem install directory for your user account. Avoid installing RubyGems packages (called gems) as the root user. Because Jekyll is a complex Gem with many dependencies, they recommend using Bundler to keep everything in working order. We will use gem to install Jekyll and Bundler, which manages gem dependencies. Bundler is a Ruby utility to manage dependencies on per project basis. ![]() This will install the Gems “Jekyll” and Bundler. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |