Skip to content

Instantly share code, notes, and snippets.

@jimweirich
Created June 11, 2009 15:34
Show Gist options
  • Save jimweirich/127992 to your computer and use it in GitHub Desktop.
Save jimweirich/127992 to your computer and use it in GitHub Desktop.
RUBY = File.join(
Config::CONFIG['bindir'],
Config::CONFIG['ruby_install_name'] + Config::CONFIG['EXEEXT']).
sub(/.*\s.*/m, '"\&"')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment