# Does Gemfile need to include svg?

**URL:** https://meta.discourse.org/t/does-gemfile-need-to-include-svg/49848
**Category:** Development
**Created:** [2016年九月7日 19:34 UTC](https://meta.discourse.org/t/does-gemfile-need-to-include-svg/49848 "2016-09-07T19:34:40Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [2016年九月7日 20:07 UTC](https://meta.discourse.org/t/does-gemfile-need-to-include-svg/49848/2 "2016-09-07T20:07:35Z")

</div>

The image tools are usually provided by the Docker image. Take a look at the [Dockerfile](https://github.com/discourse/discourse_docker/blob/master/image/base/Dockerfile) and the install scripts [install-gifsicle](https://github.com/discourse/discourse_docker/blob/master/image/base/install-gifsicle), [install-pngcrush](https://github.com/discourse/discourse_docker/blob/master/image/base/install-pngcrush) and [install-pngquant](https://github.com/discourse/discourse_docker/blob/master/image/base/install-pngquant). I’m not sure if all of those are [still used](https://github.com/discourse/discourse/blob/master/.image_optim.yml) by Discourse.

I installed the following packages on my Ubuntu development VM in order to get rid of the warnings.

```bash
sudo apt install advancecomp jhead jpegoptim libjpeg-turbo-progs optipng npm nodejs-legacy
sudo npm install svgo -g

```

Some of them are already installed by the [script](https://github.com/techAPJ/install-rails/blob/master/linux) mentioned in the [Beginners Guide to Install Discourse on Ubuntu for Development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-ubuntu-for-development/14727).

---

_[View the full topic](https://meta.discourse.org/t/does-gemfile-need-to-include-svg/49848)._
