diff options
-rw-r--r-- | config/packages | 2 | ||||
-rw-r--r-- | doc/INSTALL.md | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/config/packages b/config/packages index f4d0a674c..74074dd76 100644 --- a/config/packages +++ b/config/packages @@ -30,7 +30,7 @@ libmagickwand-dev libpq-dev uuid-dev ruby1.8-dev -rubygems +rubygems (>= 1.8.15) rake (>= 0.9.2.2) build-essential bundler diff --git a/doc/INSTALL.md b/doc/INSTALL.md index 141badeaf..8390aee7b 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -32,6 +32,10 @@ You need to configure [apt-pinning](http://wiki.debian.org/AptPreferences#Pinnin In order to configure apt-pinning and to keep most packages coming from the Debian stable repository while installing the ones required from testing and the mySociety repository you need to run the following commands: echo "Package: *" >> /tmp/preferences + echo "Pin: release a=squeeze-backports">> /tmp/preferences + echo "Pin-Priority: 200" >> /tmp/preferences + echo "" >> /tmp/preferences + echo "Package: *" >> /tmp/preferences echo "Pin: release a=testing">> /tmp/preferences echo "Pin-Priority: 50" >> /tmp/preferences sudo cp /tmp/preferences /etc/apt/ @@ -49,6 +53,7 @@ If you are running Debian, add the following repositories to deb http://debian.mysociety.org squeeze main deb http://ftp.debian.org/debian/ testing main non-free contrib + deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free The repositories above allow us to install the packages `wkhtmltopdf-static` and `bundler` using `apt`; so if you're running |