diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-07-27 18:29:23 +0100 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-07-27 18:29:23 +0100 |
commit | ce8541ee7c837ee56ece227674ecc0e609288b46 (patch) | |
tree | 10b3ed22bcf2f51c8babf6187192f024b4eddb85 | |
parent | 0fb20448a0d005a77ec246596785a6b9ad87956b (diff) |
Fix for 84b5d77
-rw-r--r-- | Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,5 +1,5 @@ # Work around bug in Debian Squeeze - see https://github.com/sebbacon/alaveteli/pull/297#issuecomment-4101012 -if File.exist? "/etc/debian_version" and File.open("/etc/debian_version").read.strip =~ /^squeeze|6\.0\.[45]$/ +if File.exist? "/etc/debian_version" and File.open("/etc/debian_version").read.strip =~ /^(squeeze|6\.0\.[45])$/ if File.exist? "/lib/libuuid.so.1" require 'dl' DL::dlopen('/lib/libuuid.so.1') |