From: Razvan C. <nu...@co...> - 2017-07-21 14:21:39
|
Razvan Ciocanel 2017-07-21 22:43:56 +0900 (Fri, 21 Jul 2017) New Revision: fcd21cd067f2a5a5d53020f281c05c150f7d9907 https://github.com/ruby-gnome2/ruby-gnome2/commit/fcd21cd067f2a5a5d53020f281c05c150f7d9907 Merged 420839f: Merge pull request #1071 from Chocksy/feat-heroku_instalation Message: add details about installing rsvg2 on heroku Added files: doc/heroku.md Added: doc/heroku.md (+24 -0) 100644 =================================================================== --- /dev/null +++ doc/heroku.md 2017-07-21 22:43:56 +0900 (495edb1) @@ -0,0 +1,24 @@ +# Heroku installation + +## Install rsvg2 + +This document describes how to install rsvg2 on heroku (cedar-16) + +### Steps + + 1. Add buildpack apt to your app: `heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-apt.git` + 2. Add Aptfile to your rails root directory. + 3. Include in the Aptfile the following packages: + ``` + gir1.2-freedesktop + gir1.2-rsvg-2.0 + gir1.2-gdkpixbuf-2.0 + gir1.2-glib-2.0 + libgirepository-1.0-1 + libgirepository1.0-dev + ``` + 4. In your gemfile add + ``` + gem 'rsvg2' + ``` + 5. Add the following ENV var: `GI_TYPELIB_PATH = /app/.apt/usr/lib/x86_64-linux-gnu/girepository-1.0` |