Skip to content

Instantly share code, notes, and snippets.

@aderyabin
Created December 8, 2010 13:45
Show Gist options
  • Select an option

  • Save aderyabin/733296 to your computer and use it in GitHub Desktop.

Select an option

Save aderyabin/733296 to your computer and use it in GitHub Desktop.
define ruby version from rails application
IO.popen("ruby -v").readlines.to_s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment