<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">root@srv94600149:~/openstreetmap-website# bundle install<br>
Don't run Bundler as root. Installing your bundle as root will break this application for all non-root users on this machine.<br>
Fetching gem metadata from <a href="https://rubygems.org/" rel="nofollow">https://rubygems.org/</a>.........<br>
Resolving dependencies...<br>
Installing bigdecimal 3.1.4 with native extensions<br>
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.</p>
<pre class="notranslate"><code class="notranslate">current directory: /var/lib/gems/3.0.0/gems/bigdecimal-3.1.4/ext/bigdecimal
</code></pre>
<p dir="auto">/usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20231106-175013-k85mp2.rb extconf.rb<br>
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h</p>
<p dir="auto">You might have to install separate package for the ruby development<br>
environment, ruby-dev or ruby-devel for example.</p>
<p dir="auto">extconf failed, exit code 1</p>
<p dir="auto">Gem files will remain installed in /var/lib/gems/3.0.0/gems/bigdecimal-3.1.4 for inspection.<br>
Results logged to /var/lib/gems/3.0.0/extensions/x86_64-linux/3.0.0/bigdecimal-3.1.4/gem_make.out</p>
<p dir="auto">/usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:95:in <code class="notranslate">run' /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:47:in </code>block in build'<br>
/usr/lib/ruby/3.0.0/tempfile.rb:317:in <code class="notranslate">open' /usr/lib/ruby/vendor_ruby/rubygems/ext/ext_conf_builder.rb:26:in </code>build'<br>
/usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:161:in <code class="notranslate">build_extension' /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:195:in </code>block in build_extensions'<br>
/usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in <code class="notranslate">each' /usr/lib/ruby/vendor_ruby/rubygems/ext/builder.rb:192:in </code>build_extensions'<br>
/usr/lib/ruby/vendor_ruby/rubygems/installer.rb:847:in <code class="notranslate">build_extensions' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/rubygems_gem_installer.rb:72:in </code>build_extensions'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/rubygems_gem_installer.rb:28:in <code class="notranslate">install' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/source/rubygems.rb:203:in </code>install'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/installer/gem_installer.rb:54:in <code class="notranslate">install' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/installer/gem_installer.rb:16:in </code>install_from_spec'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/installer/parallel_installer.rb:130:in <code class="notranslate">do_install' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/installer/parallel_installer.rb:115:in </code>install_serially'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/installer/parallel_installer.rb:91:in <code class="notranslate">call' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/installer/parallel_installer.rb:67:in </code>call'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/installer.rb:244:in <code class="notranslate">install_in_parallel' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/installer.rb:201:in </code>install'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/installer.rb:89:in <code class="notranslate">block in run' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/process_lock.rb:12:in </code>block in lock'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/process_lock.rb:9:in <code class="notranslate">open' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/process_lock.rb:9:in </code>lock'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/installer.rb:71:in <code class="notranslate">run' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/installer.rb:23:in </code>install'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/cli/install.rb:62:in <code class="notranslate">run' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/cli.rb:261:in </code>block in install'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/settings.rb:142:in <code class="notranslate">temporary' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/cli.rb:260:in </code>install'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/command.rb:27:in <code class="notranslate">run' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in </code>invoke_command'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor.rb:392:in <code class="notranslate">dispatch' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/cli.rb:34:in </code>dispatch'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/vendor/thor/lib/thor/base.rb:485:in <code class="notranslate">start' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/cli.rb:28:in </code>start'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/exe/bundle:37:in <code class="notranslate">block in <top (required)>' /var/lib/gems/3.0.0/gems/bundler-2.4.21/lib/bundler/friendly_errors.rb:117:in </code>with_friendly_errors'<br>
/var/lib/gems/3.0.0/gems/bundler-2.4.21/exe/bundle:29:in <code class="notranslate"><top (required)>' /usr/local/bin/bundle:25:in </code>load'<br>
/usr/local/bin/bundle:25:in `</p>'<p dir="auto"></p>
<p dir="auto">An error occurred while installing bigdecimal (3.1.4), and Bundler cannot continue.</p>
<p dir="auto">In Gemfile:<br>
rails was resolved to 7.1.1, which depends on<br>
actioncable was resolved to 7.1.1, which depends on<br>
actionpack was resolved to 7.1.1, which depends on<br>
actionview was resolved to 7.1.1, which depends on<br>
rails-dom-testing was resolved to 2.2.0, which depends on<br>
activesupport was resolved to 7.1.1, which depends on<br>
bigdecimal</p>
<h3 dir="auto">Screenshot(s) or anything else?</h3>
<p dir="auto">I get this error when I use "bundle install".<br>
How can I solve this?</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/4325">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOQGONFLS3XH3C23OLYDCGJLAVCNFSM6AAAAAA67BHUPOVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TQNBWHEZTSMY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPGLZBUM34XCZ5AH4TYDCGJLA5CNFSM6AAAAAA67BHUPOWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHL3IMCE.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/4325</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/4325",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/4325",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>