# שגיאה בתחביר Ruby 3.2 בהתקנה רגילה

**URL:** <https://meta.discourse.org/t/error-on-ruby-3-2-syntax-on-standard-install/270491>\
**Category:** Bug\
**Created:** [4 ביולי,‏ 2023,‏ 9:15am UTC](https://meta.discourse.org/t/error-on-ruby-3-2-syntax-on-standard-install/270491 "2023-07-04T09:15:59Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [4 ביולי,‏ 2023,‏ 1:40pm UTC](https://meta.discourse.org/t/error-on-ruby-3-2-syntax-on-standard-install/270491/9 "2023-07-04T13:40:05Z")

</div>

Thanks for reporting the issue @sigmike. The ruby version issue will be fixed by a rebuild, so our main objective here should be to get the rebuild to run to completion.

I was able to reproduce the `Build Error` on a fresh stable-branch installation. It looks like `yarn` (the JS package manager we use) isn’t cleanly downgrading the workspace from the pre-installed '`tests-passed'` packages to the versions required by the stable branch.

In the medium term we aim to switch away from using `yarn` as a package manager. So for now, I’ve added a workaround to the build process which will reset the `node_modules` directory when doing a rebuild for non-tests-passed installs. If you try rebuilding again, things should work much better.

[https://github.com/discourse/discourse\_docker/commit/4fe3ef733850349f48db11dc4dd587c4d5b70a64](https://github.com/discourse/discourse_docker/commit/4fe3ef733850349f48db11dc4dd587c4d5b70a64)

Let us know how it goes!

---

_[View the full topic](https://meta.discourse.org/t/error-on-ruby-3-2-syntax-on-standard-install/270491)._
