diff --git a/common/build-style/gem.sh b/common/build-style/gem.sh index be59e059498..afc00662654 100644 --- a/common/build-style/gem.sh +++ b/common/build-style/gem.sh @@ -61,4 +61,8 @@ do_install() { fi rm -rf ${_INSTDIR}/etc + + # Ignore the ~> operator, replace it with >= + sed 's|~>|>=|g' \ + -i ${DESTDIR}/${_GEMDIR}/specifications/${pkgname#ruby-}-${version}.gemspec }