Fix dependencies on ruby and python packages