Re: Subversion, gem packaging, externals, and symlinks

Michael Schuerig
2005-07-13T08:52:03Z

On Wednesday 13 July 2005 08:00, Joe Van Dyk wrote:

> Also, why do you use gems to package a rails site?  What''s the
> benefit?

I''m trying to package two things.

(1) BoilerPlate[*], my "app skeleton" (to avoid the f-word) on top of
Rails. This should become a gem.

(2) A demo app for BoilerPlate as zip and tar.gz

In my development setup, I have the demo app at the root and the generic
code in vendor/boilerplate. Rails SVN HEAD is linked-in via
svn:externals at vendor/rails. The demo app has several symlinks to
JavaScript and stylesheet files and images contained in Rails and
BoilerPlate.

This is all very convenient for development, but not for tagging a
release and packaging. Also, when deployed, things should be different.
BoilerPlate itself should be installed as a gem, the demo app can be
unpacked anywhere and has an empty vendor directory.

Michael


[*] http://www.schuerig.de/michael/boilerplate/

--
Michael Schuerig                           The more it stays the same,
mailto:michael-q5aiKMLteq4b1SvskN2V4Q@public.gmane.org
The less it changes!
http://www.schuerig.de/michael/      --Spinal Tap, The Majesty of Rock