From 0a5ce0de9df5dc0b532832b828f7d0a830488b64 Mon Sep 17 00:00:00 2001 From: Bashkim Isai Date: Sat, 5 Oct 2013 14:09:13 +0100 Subject: [PATCH] added linux install instructions --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9817f25..bec41b8 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ This script automates the conversion of SVGs to PNGs and provides the CSS for yo ### Mac OS X (with homebrew) -If you don't already have it, download and install `XQuartz` +You may need to download and install `XQuartz` https://xquartz.macosforge.org/landing/ @@ -28,9 +28,14 @@ Install `librsvg` brew install librsvg -Install `gem` +### Linux - gem install compass-svg-polyfill +Tested on `Ubuntu 12.04` + +Install `librsvg` + + sudo apt-get update + sudo apt-get install librsvg2-bin ## Usage @@ -38,6 +43,10 @@ Install `gem` The following instructions are for adding the SVG background image code to an existing project. +Install `gem` + + gem install compass-svg-polyfill + Add the following to the top of your `config.rb`: require "compass-svg-polyfill"