<p></p>
<h3 dir="auto">Problem</h3>
<p dir="auto">I wanted to try running the app outside of the provided Docker setup. I've followed the instructions in <code class="notranslate">INSTALL.md</code> and <code class="notranslate">gd</code> (2.3.3_6) has definitely been installed via <code class="notranslate">brew</code>. Any <code class="notranslate">rails</code> or <code class="notranslate">rake</code> command results in a <code class="notranslate">Couldn't load the gd2 library. (LoadError)</code>, e.g.</p>
<pre class="notranslate"><code class="notranslate">/Users/erictheise/.rvm/gems/ruby-3.3.4@ohm-macos/gems/gd2-ffij-0.4.0/lib/gd2-ffij.rb:158:in `rescue in <module:GD2FFI>': Couldn't load the gd2 library. (LoadError)
from /Users/erictheise/.rvm/gems/ruby-3.3.4@ohm-macos/gems/gd2-ffij-0.4.0/lib/gd2-ffij.rb:144:in `<module:GD2FFI>'
from /Users/erictheise/.rvm/gems/ruby-3.3.4@ohm-macos/gems/gd2-ffij-0.4.0/lib/gd2-ffij.rb:10:in `<module:GD2>'
from /Users/erictheise/.rvm/gems/ruby-3.3.4@ohm-macos/gems/gd2-ffij-0.4.0/lib/gd2-ffij.rb:9:in `<main>'
from <internal:/Users/erictheise/.rvm/rubies/ruby-3.3.4/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
from <internal:/Users/erictheise/.rvm/rubies/ruby-3.3.4/lib/ruby/site_ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
from /Users/erictheise/.rvm/rubies/ruby-3.3.4/lib/ruby/3.3.0/bundled_gems.rb:74:in `block (2 levels) in replace_require'
</code></pre>
<p dir="auto">I saw that this was previously reported by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alongLFB/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alongLFB">@alongLFB</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2607410096" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5281" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/5281/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/5281">#5281</a>, and that <a href="https://github.com/dark-panda/gd2-ffij/pull/27" data-hovercard-type="pull_request" data-hovercard-url="/dark-panda/gd2-ffij/pull/27/hovercard">PRs are going unaddressed in the gem's repo</a>. Wondering if anyone's come up with a workaround.</p>
<h3 dir="auto">Description</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Screenshots</h3>
<p dir="auto"><em>No response</em></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/5583">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPZY76FSBOB5PVRAHL2NRB6LAVCNFSM6AAAAABWI3O6X2VHI2DSMVQWIX3LMV43ASLTON2WKOZSHAZDIOBVHE3DGMQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOLRP2PB7H72YIMP4T2NRB6LA5CNFSM6AAAAABWI3O6X2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKQX7P6A.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/5583</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/5583",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5583",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>