Bill Atkins
2/7/2005 5:43:00 AM
I've written a library that I plan to distribute as a RubyGem, but I
think it's a little crazy to require all users of this library to do
require 'rubygems' # or RUBY_OPT="-rubygems"
require_gem 'oscar'
Can't I tell RubyGems to install my gem straight to the RUBY_LIB
directory instead of having it go into its own separate folder?
Ideally, users should install my library and then just do "require
'oscar' "
I think the separate folders are fine for applications, but for
libraries, I don't really see how they help.
Bill
--
$stdout.sync = true
"Just another Ruby hacker.".each_byte do |b|
('a'..'z').step do|c|print c+"\b";sleep 0.007 end;print b.chr
end; print "\n"