[Rubygems-developers] Re: [ANN] dev-utils v1.0
eivind at FreeBSD.org
Mon Oct 11 06:23:41 EDT 2004
On Sun, Oct 10, 2004 at 06:34:07PM -0600, Aredridel wrote:
> > > I'll admit right now to being an "alternate packager" (I maintain RPMs
> > > of most of the Ruby stuff in the PLD Linux Distro) -- My biggest
> > > concern is making some libraries work right. The one I've been working
> > > on hardest is Rails. Even the tarball version requires rubygems -- not
> > > the gem command, but the library.
> > >
> > It looks like he includes the rubygems-enabled code, but you don't use
> > it unless you have rubygems. I see rubygems stuff in two places:
> > environments/shared_for_gem.rb (which has an alternate non-gem version
> > called shared.rb) and in the active record benchmark.rb, but that has a
> > conditional load. So there shouldn't actually be any hard rubygems
> > dependencies. His Rakefiles use the gems lib, because he builds gems
> > from them. I would guess that wouldn't be a problem for you since
> > they're build-time only.
> That's the most bizarre part: Rails is not a library in the usual
> sense. It's a template, a framework -- It's essentially its own
> development environment. It makes packaging rather difficult, since
> there's not much precedent for it, except C example code which you
> just cp -a into your project.
You should probably package RailTies, which generates this template.
More information about the Rubygems-developers