Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (7 sloc) 460 Bytes

Just some 1:45am brainstorming:

Blah.setup('./foo')     # Everything works relatively to File.join(File.dirname(__FILE__), 'foo') unless you specify a dir
Blah.install('mri-1.8') # alias for latest MRI 1.8
Blah.ruby('mri-1.8')    #=> File.join(File.dirname(__FILE__), 'foo', 'mri', '1.8', 'ruby' + RbConfig::CONFIG['EXEEXT'])
Blah.irb('mri-1.8')     #=> File.join(File.dirname(__FILE__), 'foo', 'mri', '1.8', 'irb' + RbConfig::CONFIG['EXEEXT'])