https://github.com/sixarm/ruby-stable-version
Ruby stable version: print the current Ruby stable version string
https://github.com/sixarm/ruby-stable-version
ruby script shell version
Last synced: about 1 month ago
JSON representation
Ruby stable version: print the current Ruby stable version string
- Host: GitHub
- URL: https://github.com/sixarm/ruby-stable-version
- Owner: SixArm
- Created: 2016-09-02T18:41:18.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2025-04-14T08:47:50.000Z (about 1 year ago)
- Last Synced: 2026-04-20T15:34:13.146Z (2 months ago)
- Topics: ruby, script, shell, version
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Ruby stable version
Print the current Ruby stable version.
Example:
$ ruby-stable-version
2.3.1
This implementation has three steps:
* Fetch the Ruby website download page
* Search the HTML to match a link to a download file,
* Extract the version string, such as "2.3.1".
This implementation intentionally uses just shell tools,
because we want the script to be as portable as possible.
## Tracking
* Command: ruby-stable-version
* Version: 2.0.0
* Created: 2014-12-06
* Updated: 2016-09-02
* Contact: Joel Parker Henderson (joel@joelparkerhenderson.com)
* License: BSD, MIT, GPL