ruby: fix version 2.2.0

This commit is contained in:
Charles Strahan 2015-07-07 00:37:53 -04:00
parent 08ff83eab3
commit 4ea88cc526

View File

@ -59,9 +59,8 @@ stdenv.mkDerivation rec {
"${patchSet}/patches/ruby/2.2.0/railsexpress/05-fix-packed-bitfield-compat-warning-for-older-gccs.patch"
];
# Ruby >= 2.1.0 tries to download config.{guess,sub}
postPatch = ''
rm tool/config_files.rb
postPatch = ops useRailsExpress ''
sed -i configure.in -e '/config.guess/d'
cp ${config}/config.guess tool/
cp ${config}/config.sub tool/
'';