I''ve developed a Rails application that I''d like to make generally available, but I''m not sure how to go about this, or even what tools are most appropriate. Is this something that the Rails framework provides, or is it a job for Rake? for Rubygems? for Tar2rubyscript or Rubyscript2exe? A pointer to a "Distributing your Rails Application" would be ideal. -- John Kodis.
maybe just a zip file, so it can be unpacked on any platform without problems. On 1/21/06, John Kodis <kodis@comcast.net> wrote:> > I''ve developed a Rails application that I''d like to make generally > available, but I''m not sure how to go about this, or even what tools > are most appropriate. Is this something that the Rails framework > provides, or is it a job for Rake? for Rubygems? for Tar2rubyscript or > Rubyscript2exe? > > A pointer to a "Distributing your Rails Application" would be ideal. > > -- John Kodis. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Roberto Saccon - http://rsaccon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060121/ec50abc5/attachment-0001.html
On 21 Jan 2006, at 17:42, John Kodis wrote:> I''ve developed a Rails application that I''d like to make generally > available, but I''m not sure how to go about this, or even what tools > are most appropriate. Is this something that the Rails framework > provides, or is it a job for Rake? for Rubygems? for Tar2rubyscript or > Rubyscript2exe?Are you just distributing an open source application, or is this a commercial application where you don''t want customers to have access to source code? If it''s the former, just tar.gz or .zip it up and distribute. If it''s the latter, you have a fair few hoops to jump through, and I''m not convinced you can 100% protect yourself from somebody looking at your code.> A pointer to a "Distributing your Rails Application" would be ideal.Google suggests: http://www.erikveen.dds.nl/ distributingrubyapplications/rails.html Looks perfect for what you want.
This is for an open source application, so I''m more interested in making the source code available than in hiding it. Sorry for the confusion. One of the problems with a simple zip of the project directory is that this would also pick up some cruft that I''d rather not include -- the server logs, backups of source files, and who knows what all else, especially since I''m not sure how much of the code that Rails supplies is required and how much can be left behind. It sounds as though I should write a Make or Rake file that specifies the files required for the application, much as would be done with the .files entry in a Gem::Specification. If that''s the current best practice, that''s good to know, and I appreciate the information. I''m just surprised that it''s less automated than I''d expect, given the level of automation that''s so evident through the rest of the Rails development process. -- John Kodis. On Sat, Jan 21, 2006 at 06:43:15PM +0000, Paul Robinson wrote:> On 21 Jan 2006, at 17:42, John Kodis wrote: > > >I''ve developed a Rails application that I''d like to make generally > >available, but I''m not sure how to go about this, or even what tools > >are most appropriate. Is this something that the Rails framework > >provides, or is it a job for Rake? for Rubygems? for Tar2rubyscript or > >Rubyscript2exe? > > Are you just distributing an open source application, or is this a > commercial application where you don''t want customers to have access > to source code? > > If it''s the former, just tar.gz or .zip it up and distribute. If it''s > the latter, you have a fair few hoops to jump through, and I''m not > convinced you can 100% protect yourself from somebody looking at your > code. > > >A pointer to a "Distributing your Rails Application" would be ideal. > > Google suggests: http://www.erikveen.dds.nl/ > distributingrubyapplications/rails.html > > Looks perfect for what you want. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Are you using source control? If so you could (should, probably) set it up so that local cruft, ie log files, isn''t stored in the repository. And you wouldn''t really need to version backups, since your repository *is* the backup (backing up the repository itself, though, is a great idea). Once your repository is organized and clean, you could just do a new checkout and zip that up. _______________________________________________ John McGrath http://fryolator.com -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of John Kodis Sent: Saturday, January 21, 2006 11:57 AM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Distributing a Rails app This is for an open source application, so I''m more interested in making the source code available than in hiding it. Sorry for the confusion. One of the problems with a simple zip of the project directory is that this would also pick up some cruft that I''d rather not include -- the server logs, backups of source files, and who knows what all else, especially since I''m not sure how much of the code that Rails supplies is required and how much can be left behind. It sounds as though I should write a Make or Rake file that specifies the files required for the application, much as would be done with the .files entry in a Gem::Specification. If that''s the current best practice, that''s good to know, and I appreciate the information. I''m just surprised that it''s less automated than I''d expect, given the level of automation that''s so evident through the rest of the Rails development process. -- John Kodis. On Sat, Jan 21, 2006 at 06:43:15PM +0000, Paul Robinson wrote:> On 21 Jan 2006, at 17:42, John Kodis wrote: > > >I''ve developed a Rails application that I''d like to make generally > >available, but I''m not sure how to go about this, or even what tools > >are most appropriate. Is this something that the Rails framework > >provides, or is it a job for Rake? for Rubygems? for Tar2rubyscript > >or Rubyscript2exe? > > Are you just distributing an open source application, or is this a > commercial application where you don''t want customers to have access > to source code? > > If it''s the former, just tar.gz or .zip it up and distribute. If it''s > the latter, you have a fair few hoops to jump through, and I''m not > convinced you can 100% protect yourself from somebody looking at your > code. > > >A pointer to a "Distributing your Rails Application" would be ideal. > > Google suggests: http://www.erikveen.dds.nl/ > distributingrubyapplications/rails.html > > Looks perfect for what you want. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails_______________________________________________ Rails mailing list Rails@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails
John- A lot of the open source rails apps out there just give an svn url as the place to get the app. Just make your app available over svn and allow anonymous checkout. Cheers- -Ezra On Jan 21, 2006, at 11:57 AM, John Kodis wrote:> This is for an open source application, so I''m more interested in > making the source code available than in hiding it. Sorry for the > confusion. > > One of the problems with a simple zip of the project directory is that > this would also pick up some cruft that I''d rather not include -- the > server logs, backups of source files, and who knows what all else, > especially since I''m not sure how much of the code that Rails supplies > is required and how much can be left behind. > > It sounds as though I should write a Make or Rake file that specifies > the files required for the application, much as would be done with the > .files entry in a Gem::Specification. > > If that''s the current best practice, that''s good to know, and I > appreciate the information. I''m just surprised that it''s less > automated than I''d expect, given the level of automation that''s so > evident through the rest of the Rails development process. > > -- John Kodis. > > On Sat, Jan 21, 2006 at 06:43:15PM +0000, Paul Robinson wrote: >> On 21 Jan 2006, at 17:42, John Kodis wrote: >> >>> I''ve developed a Rails application that I''d like to make generally >>> available, but I''m not sure how to go about this, or even what tools >>> are most appropriate. Is this something that the Rails framework >>> provides, or is it a job for Rake? for Rubygems? for >>> Tar2rubyscript or >>> Rubyscript2exe? >> >> Are you just distributing an open source application, or is this a >> commercial application where you don''t want customers to have access >> to source code? >> >> If it''s the former, just tar.gz or .zip it up and distribute. If it''s >> the latter, you have a fair few hoops to jump through, and I''m not >> convinced you can 100% protect yourself from somebody looking at your >> code. >> >>> A pointer to a "Distributing your Rails Application" would be ideal. >> >> Google suggests: http://www.erikveen.dds.nl/ >> distributingrubyapplications/rails.html >> >> Looks perfect for what you want. >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-Ezra Zygmuntowicz WebMaster Yakima Herald-Republic Newspaper ezra@yakima-herald.com 509-577-7732