From: Eric Hodel Date: 2005-10-27T10:46:13+09:00 Subject: Re: gem bin stubs On Oct 26, 2005, at 6:33 PM, Ara.T.Howard wrote: > when you install a program under ./bin/ using rubygems it wrappes > the code in > a stub [...] > why? i mean - you must code you programs to require any libraries > anyhow - > why would gems wrap these programs by doing the same again? So you can load version 1.0.0 vs version 2.0.3 (for example). wrapped_gem _1.0.0_ rest of args is how this is done, I think... > it seems like > programs in ./bin/ should be installed as is. have i missed something > critical here? $ gem help install Usage: gem install GEMNAME [options] Options: -v, --version VERSION Specify version of gem to install -l, --local Restrict operations to the LOCAL domain (default) -r, --remote Restrict operations to the REMOTE domain -b, --both Allow LOCAL and REMOTE operations -i, --install-dir DIR -d, --[no-]rdoc Generate RDoc documentation for the gem on install -f, --[no-]force Force gem to install, bypassing dependency checks -t, --[no-]test Run unit tests prior to installation -w, --[no-]wrappers Use bin wrappers for executables Not available on dosish platforms ^^^^^^^^^^^^^^^^^^^ Courtesy of the first Seattle.rb RubyGems hackfest. -- Eric Hodel - drbrain@segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04