Ruby Version Badger Badges to show whether your Ruby versions are up to date. They look like this: The very highest Ruby stable version will show as green. You should be using this.

The very highest Ruby stable version will show as green. You should be using this. The latest patch of previous versions still being supported will be yellow. Think about upgrading.

The latest patch of previous versions still being supported will be yellow. Think about upgrading. Everything else will be red. It's either been patched, or isn't supported any more. Update it!

To get a badge for your GitHub repository, just use the following image URL format in your README, or similar:

https://ruby-version-badger.herokuapp.com/github/{username}/{repository}

We'll analyse your repository and show the right badge (in SVG). We check the following files, in order:

Gemfile : we'll read the version in the format ruby "2.4.1" . .ruby-version : as used by rbenv and RVM.

Other methods like #ruby=2.4.1 in the Gemfile , .rvmrc and .versions.conf are only used by RVM, so aren't supported. The two methods above are supported by many more tools, so we'd prefer you used those.