# Requiring external gems

**URL:** <https://meta.discourse.org/t/requiring-external-gems/53280>\
**Category:** Development\
**Created:** [2016 年 11 月 22 日午後 11:31 UTC](https://meta.discourse.org/t/requiring-external-gems/53280 "2016-11-22T23:31:10Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Luke\_Clancy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/luke_clancy/32/166703_2.png) [@Luke\_Clancy](https://meta.discourse.org/u/Luke_Clancy)\
**Post date:** [2020 年 2 月 7 日午前 2:34 UTC](https://meta.discourse.org/t/requiring-external-gems/53280/9 "2020-02-07T02:34:59Z")

</div>

私の経験に基づいた更新情報です：

- バージョン番号は必須です。
- これらの依存関係を取得するには、お使いのローカルマシンに Ruby 2.6.5（現在 Discourse で使用されているバージョン）をインストールし、必要な gem を含む Gemfile を作成してください。
- ターミナルで「bundle install」を実行して Gemfile.lock を生成します。
- これにより、すべての gem、gem の依存関係、およびバージョン番号が一覧表示されます。
- Rafael が plugin.rb で指摘している通りに行ってください。

「required」の正確な意味はわかりませんが、true に設定しました。

---

_[View the full topic](https://meta.discourse.org/t/requiring-external-gems/53280)._
