<p></p>
<h3 dir="auto">URL</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">How to reproduce the issue?</h3>
<p dir="auto">when I use M1 Mac to build this project. it can not run this command 'bundle exec rails db:create'</p>
<p dir="auto">bundle exec rails db:create<br>
bin/rails aborted!ls db:create                                                                                                                                                                               ─╯<br>
LoadError: Couldn't load the gd2 library. (LoadError)<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/gd2-ffij-0.4.0/lib/gd2-ffij.rb:158:in <code class="notranslate">rescue in <module:GD2FFI>' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/gd2-ffij-0.4.0/lib/gd2-ffij.rb:144:in </code>module:GD2FFI'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/gd2-ffij-0.4.0/lib/gd2-ffij.rb:10:in <code class="notranslate"><module:GD2>' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/gd2-ffij-0.4.0/lib/gd2-ffij.rb:9:in </code></p>'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in <code class="notranslate">require' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in </code>require'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/bundler-2.5.16/lib/bundler/runtime.rb:60:in <code class="notranslate">block (2 levels) in require' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/bundler-2.5.16/lib/bundler/runtime.rb:55:in </code>each'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/bundler-2.5.16/lib/bundler/runtime.rb:55:in <code class="notranslate">block in require' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/bundler-2.5.16/lib/bundler/runtime.rb:44:in </code>each'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/bundler-2.5.16/lib/bundler/runtime.rb:44:in <code class="notranslate">require' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/bundler-2.5.16/lib/bundler.rb:212:in </code>require'<br>
/Users/along.li/openstreetmap-website/config/application.rb:7:in <code class="notranslate"><main>' /Users/along.li/openstreetmap-website/Rakefile:4:in </code>require_relative'<br>
/Users/along.li/openstreetmap-website/Rakefile:4:in <code class="notranslate"><main>' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/commands/rake/rake_command.rb:43:in </code>block in with_rake'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/commands/rake/rake_command.rb:41:in <code class="notranslate">with_rake' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/commands/rake/rake_command.rb:20:in </code>perform'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/command.rb:156:in <code class="notranslate">invoke_rake' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/command.rb:73:in </code>block in invoke'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/command.rb:149:in <code class="notranslate">with_argv' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/command.rb:69:in </code>invoke'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/commands.rb:18:in <code class="notranslate"><main>' <internal:/Users/along.li/.rvm/rubies/ruby-3.2.5/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in </code>require'<br>
internal:/Users/along.li/.rvm/rubies/ruby-3.2.5/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb:38:in <code class="notranslate">require' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in </code>require'<br>
bin/rails:4:in `'<p dir="auto"></p>
<p dir="auto">Caused by:<br>
LoadError: Could not open library '': dlopen(, 0x0005): tried: '' (no such file), '/System/Volumes/Preboot/Cryptexes/OS' (not a file), '/usr/lib/' (not a file, not in dyld cache), '' (no such file), '/usr/local/lib/' (not a file), '/usr/lib/' (not a file, not in dyld cache). (LoadError)<br>
Could not open library '/opt/homebrew/lib/': dlopen(/opt/homebrew/lib/, 0x0005): tried: '/opt/homebrew/lib/' (not a file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/lib/' (no such file), '/opt/homebrew/lib/' (not a file).<br>
Could not open library '/usr/local/lib/': dlopen(/usr/local/lib/, 0x0005): tried: '/usr/local/lib/' (not a file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/' (no such file), '/usr/local/lib/' (not a file).<br>
Could not open library '/usr/lib/': dlopen(/usr/lib/, 0x0005): tried: '/usr/lib/' (not a file), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/' (not a file), '/usr/lib/' (not a file, not in dyld cache).<br>
Could not open library 'lib.dylib': dlopen(lib.dylib, 0x0005): tried: 'lib.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlib.dylib' (no such file), '/usr/lib/lib.dylib' (no such file, not in dyld cache), 'lib.dylib' (no such file), '/usr/local/lib/lib.dylib' (no such file), '/usr/lib/lib.dylib' (no such file, not in dyld cache).<br>
Searched in , /opt/homebrew/lib, /opt/local/lib, /usr/local/lib, /usr/lib<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/ffi-1.17.0-arm64-darwin/lib/ffi/dynamic_library.rb:94:in <code class="notranslate">load_library' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/ffi-1.17.0-arm64-darwin/lib/ffi/library.rb:95:in </code>block in ffi_lib'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/ffi-1.17.0-arm64-darwin/lib/ffi/library.rb:94:in <code class="notranslate">map' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/ffi-1.17.0-arm64-darwin/lib/ffi/library.rb:94:in </code>ffi_lib'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/gd2-ffij-0.4.0/lib/gd2-ffij.rb:145:in <code class="notranslate"><module:GD2FFI>' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/gd2-ffij-0.4.0/lib/gd2-ffij.rb:10:in </code>module:GD2'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/gd2-ffij-0.4.0/lib/gd2-ffij.rb:9:in <code class="notranslate"><main>' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in </code>require'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/zeitwerk-2.6.18/lib/zeitwerk/kernel.rb:34:in <code class="notranslate">require' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/bundler-2.5.16/lib/bundler/runtime.rb:60:in </code>block (2 levels) in require'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/bundler-2.5.16/lib/bundler/runtime.rb:55:in <code class="notranslate">each' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/bundler-2.5.16/lib/bundler/runtime.rb:55:in </code>block in require'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/bundler-2.5.16/lib/bundler/runtime.rb:44:in <code class="notranslate">each' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/bundler-2.5.16/lib/bundler/runtime.rb:44:in </code>require'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/bundler-2.5.16/lib/bundler.rb:212:in <code class="notranslate">require' /Users/along.li/openstreetmap-website/config/application.rb:7:in </code></p>'<br>
/Users/along.li/openstreetmap-website/Rakefile:4:in <code class="notranslate">require_relative' /Users/along.li/openstreetmap-website/Rakefile:4:in </code>'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/commands/rake/rake_command.rb:43:in <code class="notranslate">block in with_rake' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/commands/rake/rake_command.rb:41:in </code>with_rake'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/commands/rake/rake_command.rb:20:in <code class="notranslate">perform' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/command.rb:156:in </code>invoke_rake'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/command.rb:73:in <code class="notranslate">block in invoke' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/command.rb:149:in </code>with_argv'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/command.rb:69:in <code class="notranslate">invoke' /Users/along.li/.rvm/gems/ruby-3.2.5/gems/railties-7.2.1.1/lib/rails/commands.rb:18:in </code>'<br>
internal:/Users/along.li/.rvm/rubies/ruby-3.2.5/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb:38:in <code class="notranslate">require' <internal:/Users/along.li/.rvm/rubies/ruby-3.2.5/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:38:in </code>require'<br>
/Users/along.li/.rvm/gems/ruby-3.2.5/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in <code class="notranslate">require' bin/rails:4:in </code>'<br>
(See full trace by running task with --trace)<p dir="auto"></p>
<h3 dir="auto">Screenshot(s) or anything else?</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/5281">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMQDCKM73U6QDJAVOLZ44525AVCNFSM6AAAAABQOA3NISVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYDONBRGAYDSNQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMMQFX75XFYCOLLBADZ44525A5CNFSM6AAAAABQOA3NISWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJW2PLWA.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/5281</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/5281",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5281",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>