RubyFlow The Ruby and Rails community linklog

How to properly check for your Ruby interpreter, version and OS

I wrote a little blog post that shows the implementation of three helpful “magical” constants: * OS: returns the current operating system * RubyEngine: returns the current Ruby implementation * RubyVersion: returns the current Ruby version

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in