Mock build system error: sh: ruby: command not found

view story

http://serverfault.com – I am trying to build a RPM using the mock build system. However, the shell in the mock environment cannot seem to find the ruby command. I run in to a build error: sh: ruby: command not found I can see that ruby is installed in the mock environment as it is a BuildRequires dependency of the spec file: DEBUG util.py:257: Getting requirements for thrift-0.8.0-1.el6.src DEBUG util.py:257: --> byacc-1.9.20070509-6.1.el6.x86_64 DEBUG util.py:257: --> boost-devel-1.41.0-11.el6_1.2.x86_64 DEBUG util.py:257: --> dos2unix-3.1-37.el6.x86_64 DEBUG util.py:257: --> flex-2.5.35-8.e (HowTos)