Skip to content

Instantly share code, notes, and snippets.

@naokits
Forked from masuidrive/get_ruby_path.rb
Created May 24, 2009 05:51
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 naokits/116969 to your computer and use it in GitHub Desktop.
Save naokits/116969 to your computer and use it in GitHub Desktop.
require 'rbconfig'
ruby_path = File.join(Config::CONFIG["bindir"],
Config::CONFIG["RUBY_INSTALL_NAME"]+
Config::CONFIG["EXEEXT"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment