# Can I share the /plugins folder to make rebuild faster?

**URL:** https://meta.discourse.org/t/can-i-share-the-plugins-folder-to-make-rebuild-faster/52681
**Category:** Feature
**Created:** [08.Ноябрь.2016 11:57:21 UTC](https://meta.discourse.org/t/can-i-share-the-plugins-folder-to-make-rebuild-faster/52681 "2016-11-08T11:57:21Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mrded](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrded/32/62438_2.png) [@mrded](https://meta.discourse.org/u/mrded)
#### Post date: [08.Ноябрь.2016 11:57:21 UTC](https://meta.discourse.org/t/can-i-share-the-plugins-folder-to-make-rebuild-faster/52681/1 "2016-11-08T11:57:21Z")

</div>

Is it possible to share `/plugins` folder or something, so I can easily update plugins without rebuilding an image every time?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [08.Ноябрь.2016 15:02:51 UTC](https://meta.discourse.org/t/can-i-share-the-plugins-folder-to-make-rebuild-faster/52681/2 "2016-11-08T15:02:51Z")

</div>

> [@Install plugins on a self-hosted site](https://meta.discourse.org/t/install-plugins-on-a-self-hosted-site/19157/103):
>
> Is it possible to share /plugins folder or something, so I can easily update plugins without rebuilding an image every time?

The plugins assets needs to be rebuilt in production, so this won’t work.

If you wanna test many configs fast, you should setup a development environment.

---

<div class="post-metadata">

### Author: ![mrded](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrded/32/62438_2.png) [@mrded](https://meta.discourse.org/u/mrded)
#### Post date: [08.Ноябрь.2016 15:12:04 UTC](https://meta.discourse.org/t/can-i-share-the-plugins-folder-to-make-rebuild-faster/52681/3 "2016-11-08T15:12:04Z")

</div>

What if I restart server every time, the same as we do on development environment, will it rebuild assets?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [08.Ноябрь.2016 15:13:46 UTC](https://meta.discourse.org/t/can-i-share-the-plugins-folder-to-make-rebuild-faster/52681/4 "2016-11-08T15:13:46Z")

</div>

No, it won’t. Production is meant for, err, production.

Development is different in many ways, and better suited for testing.

---

<div class="post-metadata">

### Author: ![mrded](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrded/32/62438_2.png) [@mrded](https://meta.discourse.org/u/mrded)
#### Post date: [08.Ноябрь.2016 15:22:38 UTC](https://meta.discourse.org/t/can-i-share-the-plugins-folder-to-make-rebuild-faster/52681/5 "2016-11-08T15:22:38Z")

</div>

Can I restore backups between development (docker container) and production (plain rails)?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [08.Ноябрь.2016 15:23:45 UTC](https://meta.discourse.org/t/can-i-share-the-plugins-folder-to-make-rebuild-faster/52681/6 "2016-11-08T15:23:45Z")

</div>

Yes, but backups don’t contain plugin code (js, css, ruby, etc) only file assets (images) and the database.

---

<div class="post-metadata">

### Author: ![mrded](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrded/32/62438_2.png) [@mrded](https://meta.discourse.org/u/mrded)
#### Post date: [08.Ноябрь.2016 15:28:24 UTC](https://meta.discourse.org/t/can-i-share-the-plugins-folder-to-make-rebuild-faster/52681/7 "2016-11-08T15:28:24Z")

</div>

I understand that. Last time I tried, I had a sort of conflict with paths. Because files on production and development are located in different folders. That’s why I thought I better use the same environment on both. Let me try again.
