Forum: Ruby on Rails distributing rails apps for localhost usage

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1614218954b4760270395362ae9a2eb4?d=identicon&s=25 Steve Erickson (Guest)
on 2006-04-05 18:08
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.
3dd4b52a0946bd698b1d1635a46ea3a3?d=identicon&s=25 François Beausoleil (fbeausoleil)
on 2006-04-05 19:32
(Received via mailing list)
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 !
E5c79d5a6d378dc4a26e20435be31657?d=identicon&s=25 Jamey Cribbs (Guest)
on 2006-04-05 20:15
(Received via mailing list)
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.
1614218954b4760270395362ae9a2eb4?d=identicon&s=25 Steve Erickson (Guest)
on 2006-04-05 20:26
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/distributingrubyapplica...

Steve
5d15c6821f3c3054c04b85471824ba7c?d=identicon&s=25 Kevin Olbrich (Guest)
on 2006-04-05 20:42
(Received via mailing list)
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:
>>
>
>HTH,
>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
This topic is locked and can not be replied to.