You can specify gem dependencies in the gemspec file.