Skip to content

Instantly share code, notes, and snippets.

@spencerdcarlson
Created April 30, 2012 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spencerdcarlson/2556062 to your computer and use it in GitHub Desktop.
Save spencerdcarlson/2556062 to your computer and use it in GitHub Desktop.
Ruby Interpreter Path
# Print Interpreter path
require 'rbconfig'
puts RbConfig.ruby()
@spencerdcarlson
Copy link
Author

Returns =>
/Users/someUserName/.rvm/rubies/ruby-1.9.2-p290/bin/ruby

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment