<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://cimadure.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://cimadure.github.io/" rel="alternate" type="text/html" /><updated>2026-04-17T22:08:47-04:00</updated><id>https://cimadure.github.io/feed.xml</id><title type="html">🪐</title><subtitle>An GitHub Page website.</subtitle><author><name>Ronan Cimadure</name></author><entry><title type="html">github pages</title><link href="https://cimadure.github.io/github-pages/" rel="alternate" type="text/html" title="github pages" /><published>2026-04-17T00:00:00-04:00</published><updated>2026-04-17T00:00:00-04:00</updated><id>https://cimadure.github.io/github-pages</id><content type="html" xml:base="https://cimadure.github.io/github-pages/"><![CDATA[<h2 id="github-pages">GitHub Pages</h2>

<h2 id="building-your-site-locally">Building your site locally</h2>
<p>source: <a href="https://docs.github.com/api/article/body?pathname=/en/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll">Testing your GitHub Pages site locally with Jekyll</a></p>

<ol>
  <li>
    <p>Open <span class="platform-mac">Terminal</span><span class="platform-linux">Terminal</span><span class="platform-windows">Git Bash</span>.</p>
  </li>
  <li>
    <p>Navigate to the publishing source for your site. For more information, see <a href="/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site">Configuring a publishing source for your GitHub Pages site</a>.</p>
  </li>
  <li>
    <p>Run <code class="language-plaintext highlighter-rouge">bundle install</code>.</p>
  </li>
  <li>
    <p>Run your Jekyll site locally.</p>

    <div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>bundle <span class="nb">exec </span>jekyll serve
<span class="o">&gt;</span> Configuration file: /Users/octocat/my-site/_config.yml
<span class="o">&gt;</span>   ... ... ...
<span class="o">&gt;</span>    Server address: http://127.0.0.1:4000/
<span class="o">&gt;</span>  Server running... press ctrl-c to stop.
</code></pre></div>    </div>

    <blockquote>
      <p>[!NOTE]</p>

      <ul>
        <li>If you’ve installed Ruby 3.0 or later (which you may have if you installed the default version via Homebrew), you might get an error at this step. That’s because these versions of Ruby no longer come with <code class="language-plaintext highlighter-rouge">webrick</code> installed.
          <blockquote>

            <p>To fix the error, try running <code class="language-plaintext highlighter-rouge">bundle add webrick</code>, then re-running <code class="language-plaintext highlighter-rouge">bundle exec jekyll serve</code>.</p>
          </blockquote>
        </li>
        <li>If your <code class="language-plaintext highlighter-rouge">_config.yml</code> file’s <code class="language-plaintext highlighter-rouge">baseurl</code> field contains your GitHub repository’s link, you can use the following command when building locally to ignore that value and serve the site on <code class="language-plaintext highlighter-rouge">localhost:4000/</code>:
          <blockquote>

            <div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code>bundle <span class="nb">exec </span>jekyll serve <span class="nt">--baseurl</span><span class="o">=</span><span class="s2">""</span>
</code></pre></div>            </div>
          </blockquote>
        </li>
      </ul>
    </blockquote>
  </li>
  <li>
    <p>To preview your site, in your web browser, navigate to <code class="language-plaintext highlighter-rouge">http://localhost:4000</code>.</p>
  </li>
</ol>

<h2 id="updating-the-github-pages-gem">Updating the GitHub Pages gem</h2>

<blockquote>
  <p>[!NOTE] While the <code class="language-plaintext highlighter-rouge">github-pages</code> gem remains supported for some workflows, GitHub Actions is now the recommended approach for deploying and automating GitHub Pages sites.</p>
</blockquote>

<p>Jekyll is an active open source project that is updated frequently. If the <code class="language-plaintext highlighter-rouge">github-pages</code> gem on your computer is out of date with the <code class="language-plaintext highlighter-rouge">github-pages</code> gem on the GitHub Pages server, your site may look different when built locally than when published on GitHub. To avoid this, regularly update the <code class="language-plaintext highlighter-rouge">github-pages</code> gem on your computer.</p>

<ol>
  <li>Open <span class="platform-mac">Terminal</span><span class="platform-linux">Terminal</span><span class="platform-windows">Git Bash</span>.</li>
  <li>Update the <code class="language-plaintext highlighter-rouge">github-pages</code> gem.
    <ul>
      <li>If you installed Bundler, run <code class="language-plaintext highlighter-rouge">bundle update github-pages</code>.</li>
      <li>If you don’t have Bundler installed, run <code class="language-plaintext highlighter-rouge">gem update github-pages</code>.</li>
    </ul>
  </li>
</ol>]]></content><author><name>Ronan Cimadure</name></author><summary type="html"><![CDATA[GitHub Pages]]></summary></entry></feed>