Has anyone come across any interesting ways to make rails apps easily distributable to run on a local machine. I''d love to be able to "bundle" my rails app into a single file that would contain a simple webserver, database and my rails app which a non-experienced user could then download install on their machine, go to a web browser and run the app locally. I envision it would be something like bundling your rails app with something like the all-in-one Locomotive. Has anybody tried anything like this? I''d love to hear your experience. -- Posted via http://www.ruby-forum.com/.
Francois Beausoleil
2006-Apr-05 17:31 UTC
[Rails] distributing rails apps for localhost usage
Hi ! 2006/4/5, Steve Erickson <mail@smerickson.com>:> Has anyone come across any interesting ways to make rails apps easily > distributable to run on a local machine. I''d love to be able to > "bundle" my rails app into a single file that would contain a simple > webserver, database and my rails app which a non-experienced user could > then download install on their machine, go to a web browser and run the > app locally. I envision it would be something like bundling your rails > app with something like the all-in-one Locomotive. Has anybody tried > anything like this? I''d love to hear your experience.Look at rubyscript2exe, a gem. Bye ! -- Fran?ois Beausoleil http://blog.teksol.info/
Steve Erickson wrote:>Has anyone come across any interesting ways to make rails apps easily >distributable to run on a local machine. I''d love to be able to >"bundle" my rails app into a single file that would contain a simple >webserver, database and my rails app which a non-experienced user could >then download install on their machine, go to a web browser and run the >app locally. I envision it would be something like bundling your rails >app with something like the all-in-one Locomotive. Has anybody tried >anything like this? I''d love to hear your experience. > >I''ll put in a little plug for using Ackbar and KirbyBase for the database layer (both on RubyForge) and rubyscript2exe to bundle the whole thing into an exe. I''m a little biased on the database side, but the advantage of using Ackbar/KirbyBase for a bundled rails app is ease of deployment, since they are both pure-Ruby. The downside is that Ackbar/KirbyBase only supports a limited subset of SQL. If you need to do complex queries, you will have to use Ruby code blocks. I just completed my first Rails intranet app using Ackbar/KirbyBase for my company. It has been live for a few days and is used by about 20 people in my department. So far, no problems. I plan on posting this app on my website for download as a Ackbar proof-of-concept in a few days. As far as rubyscript2exe goes, I have used this a lot to create Windows gui app exes. It works great. I have yet to bundle a rails app using this tool, but I''m pretty sure Erik, the author, has done this and even written a how-to. HTH, Jamey Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient(s), you are hereby notified that any dissemination, unauthorized review, use, disclosure or distribution of this email and any materials contained in any attachments is prohibited. If you receive this message in error, or are not the intended recipient(s), please immediately notify the sender by email and destroy all copies of the original message, including attachments.
Steve Erickson
2006-Apr-05 18:27 UTC
[Rails] Re: distributing rails apps for localhost usage
Fran?ois Beausoleil wrote:> > Look at rubyscript2exe, a gem. > > Bye !Thanks so much! Based on your feedback I was able to find a tutorial on how to do this. http://www.erikveen.dds.nl/distributingrubyapplications/rails.html Steve -- Posted via http://www.ruby-forum.com/.
I would think that Mongrel would be an excellent choice for a web server to distribute with it as well. I tried this out last night and it blows the doors off of WEBrick. Apache might be another good choice, but it seems a bit of overkill for something that would essentially be a desktop app that just happens to run through a server. On Wednesday, April 05, 2006, at 2:12 PM, Jamey Cribbs wrote:>Steve Erickson wrote: > >>Has anyone come across any interesting ways to make rails apps easily >>distributable to run on a local machine. I''d love to be able to >>"bundle" my rails app into a single file that would contain a simple >>webserver, database and my rails app which a non-experienced user could >>then download install on their machine, go to a web browser and run the >>app locally. I envision it would be something like bundling your rails >>app with something like the all-in-one Locomotive. Has anybody tried >>anything like this? I''d love to hear your experience. >> >> >I''ll put in a little plug for using Ackbar and KirbyBase for the >database layer (both on RubyForge) and rubyscript2exe to bundle the >whole thing into an exe. > >I''m a little biased on the database side, but the advantage of using >Ackbar/KirbyBase for a bundled rails app is ease of deployment, since >they are both pure-Ruby. The downside is that Ackbar/KirbyBase only >supports a limited subset of SQL. If you need to do complex queries, >you will have to use Ruby code blocks. > >I just completed my first Rails intranet app using Ackbar/KirbyBase for >my company. It has been live for a few days and is used by about 20 >people in my department. So far, no problems. I plan on posting this >app on my website for download as a Ackbar proof-of-concept in a few days. > >As far as rubyscript2exe goes, I have used this a lot to create Windows >gui app exes. It works great. I have yet to bundle a rails app using >this tool, but I''m pretty sure Erik, the author, has done this and even >written a how-to. > >HTH, >Jamey > >Confidentiality Notice: This email message, including any >attachments, is for the sole use of the intended recipient(s) and >may contain confidential and/or privileged information. If you are >not the intended recipient(s), you are hereby notified that any >dissemination, unauthorized review, use, disclosure or distribution >of this email and any materials contained in any attachments is >prohibited. If you receive this message in error, or are not the >intended recipient(s), please immediately notify the sender by email >and destroy all copies of the original message, including attachments. >_______________________________________________ >Rails mailing list >Rails@lists.rubyonrails.org >http://lists.rubyonrails.org/mailman/listinfo/rails_Kevin -- Posted with http://DevLists.com. Sign up and save your mailbox.