Snyk for Ruby
Snyk supports testing, monitoring, and fixing Ruby Projects in the CLI and Git integrations that have their dependencies managed by Bundler and comparing the specific dependency versions against the Ruby vulnerability database.
Snyk tests all Bundler groups. Currently, it is not possible to exclude certain groups, such as test or development groups.
Platform-specific packages are currently not supported. If these are present in your Gemfile.lock, then this can cause an invalid Fix PR to be created. If possible, use the non-platform-specific variant of a package.
The following manifest files are supported:
Snyk requires both files to be present to correctly test, monitor, and fix Ruby Projects
Snyk can fix vulnerabilities by updating vulnerable gems using bundle update, after modifying your Gemfile, adhering to the rules you have specified there as far as possible.
This means that in some scenarios, Snyk cannot upgrade all dependencies to non-vulnerable versions. In this case, consider updating the rules in your Gemfile.
In future releases, Snyk plans to provide suggestions to make this easier.
Using private Gem sources should work as normal when you are using the Snyk CLI.
When creating Fix PRs for Ruby Projects using private Gem sources, Snyk may need access to the service hosting the Gems to update the file correctly.