Skip to content

Ruby stable version: print the current Ruby stable version string

Notifications You must be signed in to change notification settings

SixArm/ruby-stable-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 ([email protected])
  • License: BSD, MIT, GPL

About

Ruby stable version: print the current Ruby stable version string

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages