You might encounter the following error when you try to do gem install ERROR : While executing gem ... (NoMethodError) undefined method `request' for nil :NilClass [ @failed_dep .dependency, @activated .request.dependency] ^^^^^^^^ The error was produced because of the mismatched version of Ruby. To resolve this error, you can download a Ruby version manager. In this case, I use rbenv If you have homebrew installed, you can type this code brew install rbenv in the terminal After installing, check the current ruby version, ruby -v Check the path, which ruby Run the following to change the path (replace YOUR_USERNAME with your user name, in my case woodylin@woodys-air ~ % woodylin is my username.) export PATH="/Users/YOUR_USERNAME/.rbenv/shims:$PATH" export PATH="/Users/woodylin/.rbenv/shims:$PATH" Check the path again, which ruby Install the desired version, in my case, rbenv install...
I just converted my website to a Jekyll site. It is very easy to do so. You can follow along with this tutorial. Convert an HTML site to Jekyll by tomjoht Some benefits of using Jekyll Speed: Jekyll generates static HTML files for your website, which means that there is no need for server-side processing of your web pages. This makes your website load faster, which can improve the user experience and search engine rankings. Simplicity: Jekyll is designed to be simple and easy to use. It uses a templating language called Liquid, which allows you to create reusable templates for your website's design and content. Security: Since Jekyll generates static HTML files, there is no server-side scripting involved. This can reduce the risk of security vulnerabilities and attacks. Portability: Jekyll allows you to develop your website locally and then deploy it to any web server. This can make it easier to move your website between hosting providers or servers. Flexibility: Jekyll ...
Comments
Post a Comment