Skip to content

Commit

Permalink
added linux install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bashkim Isai committed Oct 5, 2013
1 parent 66ad255 commit 0a5ce0d
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,33 @@ 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/

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

### Instructions

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"
Expand Down

0 comments on commit 0a5ce0d

Please sign in to comment.