Change system('ruby makepdfs') to system('sh makepdfs’); Fixes #557

I just made a pull request with the changes proposed in this issue. I do not know if the issue is a valid problem or not.