These dependencies are stored in something called a Gemfile, which is packaged with the Jekyll theme. Some Jekyll themes will require certain Ruby gem dependencies. You’ll then need to manually install gems, and any other necessary dev tools.You can now use Jekyll to create new Jekyll sites following the quick-start instructions on.
This is the manual equivalent of the “Basic” version of Ruby on Mac, minus the comprehensive troubleshooting guide.
If you haven’t yet tried to install Ruby or other development tools on your Mac, you should be able to get up and running with the basics by following my free step-by-step guide for installing Ruby on a Mac. Spend an hour or more setting everything up manually When you buy Ruby on Mac today, you’ll be supporting an independent developer, and if you need it for your job or business, you should be able to expense it. You get all of these time savings now and in the future for a one-time cost. And the next time you get a new Mac, the Ultimate version will save you an entire day because it can also automatically install all your Mac apps, fonts, macOS preferences, and GitHub repos, in addition to a complete development environment. You can run it over and over by simply typing “rom” to keep your system up to date and secure.
It will save you so much time and frustration. Ruby on Mac will automatically install Ruby with chruby, ruby-install, and all the other development tools you’ll need for Rails or Jekyll.
Have everything set up for you in minutes with a single command Spend an hour or more setting everything up manually.Have everything set up for you in minutes with a single command.You have two options for performing those steps: Install a Ruby version manager such as chruby and ruby-install (others include rbenv, asdf, and RVM).Install Homebrew (which will also install the prerequisite Apple command line tools).Install Ruby with a version managerĪt a high level, there are a minimum of five steps to a working Ruby environment on macOS with a Ruby manager: And the most reliable solution is to use a version manager, specifically chruby. From clean Macs to the most obscure issues, I’ve seen and fixed it all. Over the past ten years, I’ve helped thousands of people set up Ruby on their Mac.
Time to learn how to use a Ruby manager because you will inevitably need one. Even if you’re using Ruby for the first time, it’s worth your Versions of Ruby installed at the same time, and makes it easy to switchīetween them. I highly recommend using a Ruby manager because it allows you to have multiple If you’re really curious about the other ways, read my definitive guide to installing gems on a Mac. While there are various ways to install gems on a Mac, there’s really only one method that should be recommended: using a version manager. So what’s the correct way to install gems on a Mac? Ruby 2.6 reached end of life in March 2022.
On top of that, the version that comes with your Mac is super old, and you can’t upgrade it. The /Library/Ruby/Gems/2.6.0 directory is not meant to be modified, which is why Apple doesn’t give you permissions to write to it. You’ll get this error for any gem you try to install using the system Ruby. That’s because the gem was being installed using the version of Ruby that came preinstalled on your Mac, known as the system Ruby. You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory