aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-09-16 16:15:40 +0100
committerLouise Crow <louise.crow@gmail.com>2013-09-16 16:57:31 +0100
commit0cd3302fa26b4760e9142d86be30c9049688eff7 (patch)
tree31e76aae937292d5b8fd2771c1aea934d7f56236
parenta176da3b7611153421fc6a33bb502297ae50a0e2 (diff)
Specify a later version of rubygems
Version 1.8.15 from backports should not have the Syck bug described here: http://stackoverflow.com/questions/9004804/invalid-gemspec-illformed-requirement-yamlsyckdefaultkey0xb5f9c990-3 http://blog.rubygems.org/2011/08/31/shaving-the-yaml-yak.html
-rw-r--r--config/packages2
-rw-r--r--doc/INSTALL.md5
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