# 最新の開発環境を維持する

**URL:** <https://meta.discourse.org/t/maintaining-an-up-to-date-development-environment/250744>\
**Category:** Development\
**Created:** [2023 年 1 月 4 日午後 7:23 UTC](https://meta.discourse.org/t/maintaining-an-up-to-date-development-environment/250744 "2023-01-04T19:23:04Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2023 年 1 月 4 日午後 7:23 UTC](https://meta.discourse.org/t/maintaining-an-up-to-date-development-environment/250744/1 "2023-01-04T19:23:04Z")

</div>

新しい開発マシンを設定しようとしていますが、bundler がありません。[https://raw.githubusercontent.com/discourse/install-rails/master/linux](https://raw.githubusercontent.com/discourse/install-rails/master/linux) を見ると、まだ `ruby_version="2.7.6"` をインストールしています。そして、そのスクリプトを再実行しても、開発マシンを更新する信頼性の高い方法とは思えません。

他の人はどのようにしていますか？本当に [Install Discourse for development using Docker](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009) を使用しているのでしょうか？

ダッシュボードを開発するために、`pfaffmanager-discourse` スクリプトを使用してコマンドラインで多くの設定を渡しています。このスクリプトは、最新の Discourse をプルしてデータベースを移行します。Docker バージョンでも何とかそれを実現できると思います。

ネイティブな開発インスタンスを持つべきだという考えは古いのでしょうか、それとも Docker で開発するべきなのでしょうか？

新しいマシンを設定するために Ansible を常に使用していますが、そのセットアップで不足しているのは Discourse 開発スクリプトだけです。他にそのようなものを必要とする人はいますか？ Ruby や imagemagick などを適切なバージョンで取得するために、それをコアに移動して、Discourse をクローンしてからプレイブックを実行できるようにすることはできますか？

---

_[View the full topic](https://meta.discourse.org/t/maintaining-an-up-to-date-development-environment/250744)._
