# Build fails due to ruby version mismatch

**URL:** https://meta.discourse.org/t/build-fails-due-to-ruby-version-mismatch/396317
**Category:** Self-hosting
**Created:** [17 februari 2026 om 05:35 UTC](https://meta.discourse.org/t/build-fails-due-to-ruby-version-mismatch/396317 "2026-02-17T05:35:23Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![philh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philh/32/532740_2.png) [@philh](https://meta.discourse.org/u/philh)
#### Post date: [17 februari 2026 om 20:47 UTC](https://meta.discourse.org/t/build-fails-due-to-ruby-version-mismatch/396317/11 "2026-02-17T20:47:28Z")

</div>

> [@supermathie](#):
>
> something on your server is already using port 80 and needs to be stopped

Discourse is the only thing on the server

> [@pfaffman](#):
>
> But you said that it had been working and you’d done several rebuilds.

I did and do 😀

There are three rebuild options in the original post. The one I reference has never worked .i.e. caused failure

> [@Move from standalone container to separate web and data containers](https://meta.discourse.org/t/move-from-standalone-container-to-separate-web-and-data-containers/29413/128):
>
> `./launcher bootstrap data && ./launcher destroy data && ./launcher start data`
> 
> fails with error unless first stopping the data container with `./launcher stop data`
> 
> This occurs on instances created fresh with `./discourse-setup --two-container` and converted using the longer method.
> 
> In both cases  
> `./launcher stop web_only && ./launcher rebuild data && ./launcher rebuild web_only`  
> and  
> `./launcher bootstrap web_only && ./launcher destroy web_only && ./launcher start web_only`
> 
> work as expected.

---

_[View the full topic](https://meta.discourse.org/t/build-fails-due-to-ruby-version-mismatch/396317)._
