Resolve “No Github API authentication” errorsĪfter making an edit, Jekyll auto-rebuilds the site. (Make sure you include the / at the end.) Go to the preview address in the browser.Browse to the directory where you downloaded the Documentation theme for Jekyll.Something must have gotten messed up when something.write permissions when installing Jekyll on OS X High Sierra. The vanilla Jekyll site you create through jekyll new my-awesome-site doesn’t have a Gemfile, but many other themes (including the Documentation theme for Jekyll) do have a Gemfile. This is telling the system to change the files to change the ownership to the current user. (To learn more about Bundler, see About Ruby Gems.
Gem install jekyll permission denied install#
Installing Xcode Command-Line Tools If you run into issues installing Jekylls dependencies which make use of native extensions and are using macOS, you will need to install Xcode and the Command-Line Tools it ships with. While ‘new’ blogs created with Jekyll v3. All of Jekyll’s gem dependencies are automatically installed by the above command, so you won’t have to worry about them at all. If you have a gem that depends on other gems to work, Bundler will go out and retrieve all of the dependencies as well. Jekyll now uses a rubygem to internally configure Timezone based on established IANA Timezone Database. Maybe You ran Jekyll with sudo at some point so the owner got messed up. All other applications that need to use Bundler will likely not have the needed permissions to run.īundler goes out and retreives all the gems that are specified in a Jekyll project’s Gemfile. Check the /site and its subdirectories and files owner, group, and permissions. If you’re prompted to switch to superuser mode ( sudo) to get the correct permissions to install Bundler in that directory, avoid doing this.