From: Brian Candler Date: 2011-10-08T18:24:20+09:00 Subject: Re: don't understand -r Thomas Sawyer wrote in post #1025570: > btw, my original usecase, that led me this, was an attempt to run > minitest-based tests through a custom report format. > > $ ruby -r'minitest/tapy' test/test-*.rb And the problem is that this doesn't work because rubygems isn't installed, or something else? For me, -r works with rubygems in 1.9.2: $ sudo gem192 install haml Successfully installed haml-3.1.3 ... $ ruby192 -rhaml -e 'p Haml.constants' [:ROOT_DIR, :Util, :Version, :VERSION, :Helpers, :Buffer, :Shared, :Parser, :Compiler, :Filters, :Error, :SyntaxError, :Engine] $ ruby192 -v ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux] -- Posted via http://www.ruby-forum.com/.