I'm trying to deploy a ruby on rails application.
Has anyone done anything like this?
once you have compacted your Rails app into an exe, you could do something
as simple as make a second executable (maybe a batch file or the equivalent
of a windows shortcut) that calls your Rails App.exe and then invokes
the web browser to launch and point to it.
I think I know what you are trying to achieve here, and getting the rails app
into an exe is the challenging part (that is properly solved by the linked
article). Getting a browser to launch and point somewhere is easy. Doing
the tasks independently is very easy to accomplish, trying to get the
Rails App.exe to launch browsers as well could overcomplicate a
As others have mentioned, you may have issues with post-install setup,
like configuring/pointing to/creating your sqlite databases. You might
also want to do things like install-as-service, or ensure that RailsApp.exe
runs on bootup.
As an aside, has anyone got some metrics on the size of the resulting
Rails2Exe executable? I have considered compiling ruby/rails to executables
as a way of potentially getting around the size of a rails/ruby app
if it ever became an issue. (like if we needed to do things like deploy over
There are other potential benefits - this can obfuscate your source, and
even trivialise your Rails install if you need to ship it to people who thing
Ruby is a wedding anniversary and Rails are things that trains run on.