Re: Bug#293055: ITP: rails -- MCV ruby based framework geared for web application development
On Tue, Feb 01, 2005 at 12:32:31PM -0600, Adam Majer wrote:
> David Nusinow wrote:
> >I worked on a package for this throughout the weekend, and while it's not done
> >I've made some considerable progress on it. If you'd like help or a
> >comaintainer, let me know.
> For the package, I essentially want to take rails and stuff it (minus
> the non-software stuff in upstream tarball) in /usr/share/rails/ with a
> deployment script in /usr/bin. Then you'll be able to type `rails
> my_app` and empty rails framework would deploy to `pwd`/my_app.
> The /usr/bin/rails script will also have a -P,--production switch that
> will deploy the framework for production environment (ie. no docs or
> unneeded parts of the framework).
> I will be using rails next week so the package will be ready by end of
> the weekend.
> What does your package look like? Do you have a place where I can
> download it?
Just like you envision, but it's not functional yet, mainly due to the
activerecord/actionmailer stuff not being done yet. The rails script works
partially, but chokes when it reaches these items, because I haven't put them
in to /usr/share/rails yet and patched the rakefile to look there for them. I
like the -P switch, although there is already a rakefile target that pretty
much does what you suggest. I made a modified version of the target for my own
needs, also minus docs and such. I'll try and upload my package to
people.debian.org/~dnusinow tonight so you can have a look.
I think I've managed to detach it from depending on rubygems, but it still
requires rake, which is contingent on you :-)
- David Nusinow