A
Ara.T.Howard
when you install a program under ./bin/ using rubygems it wrappes the code in
a stub - something like
require_gem 'yourapp'
load 'yourapp'
this is all well and good - except that it seems redundant in nearly all
cases. for example my ruby queue package has a program in bin that looks
something like
require_gem 'rq'
RQ::Main::new ARGV, ENV
if i package this with ruby gems this program with get wrapped to look
something like
require_gem 'rq', version
load 'rq'
why? i mean - you must code you programs to require any libraries anyhow -
why would gems wrap these programs by doing the same again? it seems like
programs in ./bin/ should be installed as is. have i missed something
critical here?
regards.
-a
--
===============================================================================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| anything that contradicts experience and logic should be abandoned.
| -- h.h. the 14th dalai lama
===============================================================================
a stub - something like
require_gem 'yourapp'
load 'yourapp'
this is all well and good - except that it seems redundant in nearly all
cases. for example my ruby queue package has a program in bin that looks
something like
require_gem 'rq'
RQ::Main::new ARGV, ENV
if i package this with ruby gems this program with get wrapped to look
something like
require_gem 'rq', version
load 'rq'
why? i mean - you must code you programs to require any libraries anyhow -
why would gems wrap these programs by doing the same again? it seems like
programs in ./bin/ should be installed as is. have i missed something
critical here?
regards.
-a
--
===============================================================================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| anything that contradicts experience and logic should be abandoned.
| -- h.h. the 14th dalai lama
===============================================================================