Skip to content

Instantly share code, notes, and snippets.

@entryway
Forked from jimweirich/Running Ruby Command
Created June 11, 2009 15:57
Show Gist options
  • Save entryway/128007 to your computer and use it in GitHub Desktop.
Save entryway/128007 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