# command的标准安装中的长时间暂停：cd /var/www/discourse && su discourse -c 'bundle install --retry 3 --jobs 4'

**URL:** <https://meta.discourse.org/t/long-pause-in-standard-installation-of-command-cd-var-www-discourse-su-discourse-c-bundle-install-retry-3-jobs-4/267142>\
**Category:** Self-hosting\
**Created:** [2023 年6 月 4 日 07:51 UTC](https://meta.discourse.org/t/long-pause-in-standard-installation-of-command-cd-var-www-discourse-su-discourse-c-bundle-install-retry-3-jobs-4/267142 "2023-06-04T07:51:28Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![Lhc\_fl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhc_fl/32/268115_2.png) [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)\
发布日期： [2023 年6 月 4 日 10:45 UTC](https://meta.discourse.org/t/long-pause-in-standard-installation-of-command-cd-var-www-discourse-su-discourse-c-bundle-install-retry-3-jobs-4/267142/3 "2023-06-04T10:45:35Z")

</div>

显然这是由于 `bundle install` 造成的。这个操作即使服务器在境外都久，何况你还要爬一层墙。  
后面 `yarn install` 的时候也要小心这个问题。

最好还是别把服务器放大陆吧，连从github上clone discourse本体都可能给你爆个错误……

* * *

For developers in China: Apparently this problem is due to `bundle install` . Even if the server is deployed in a foreign country, this operation will take a long time. Not to mention you’ll run into some well-known resistance.  
Be careful about the same problem when `yarn install` later.

It’s better not to put the server in China, because even cloning discourse from github may give you an error…

---

_[View the full topic](https://meta.discourse.org/t/long-pause-in-standard-installation-of-command-cd-var-www-discourse-su-discourse-c-bundle-install-retry-3-jobs-4/267142)._
