[Rubygems-developers] Using own stub code
Michael Neumann
mneumann at ntecs.de
Thu Jun 3 09:29:02 EDT 2004
Hi,
I encountered a problem during gemifying a DBD (Database Driver).
They are required to be installed into e.g. site_ruby/1.8/DBD/Pg for the
Pg (Postgres) DBD. Maybe, I should build versioning into DBI, so that I
can write:
DBI.connect("dbi:Pg(0.1.0):db", ...)
and this would
require_gem 'dbd-pg', '0.1.0'
Or could I tell rubygems to install a stub as DBD/Pg/Pg.rb? Inside the
gemspec? That would be much easier.
Thanks in advance.
Regards,
Michael
More information about the Rubygems-developers
mailing list