Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Options for distribution of an offline Ruby on Rails application

I am developing an application in using Ruby on Rails, mostly as an excuse to learn the language.

This is not intended to be a web-based application - and perhaps I have chosen the wrong language, but...

My understanding is, that in order to run an instance of this application on somebody else's computer, they would need to install ruby on rails, and a webserver (or webrick, perhaps), as well as my application code.

I am just curious if there are any other options for distributing my application as a standalone app, or perhaps just a simple way to package up a web browser and ROR together with my app for a simple, one-step install?

like image 907
Brent Avatar asked Sep 11 '08 02:09

Brent


People also ask

How you can run Rails application without creating databases?

For Rails 3 and Rails 4: Use -O (Capital 'O') or --skip-activerecord option to generate an application without a database. Notice the extra hyphen '-' as opposed to previous Rails versions.

What replaced Ruby on Rails?

Framework structure Prior to version 2.0, Ruby on Rails also included the Action Web Service package that is now replaced by Active Resource.

Is Ruby on Rails single page application?

Application developer can use various technologies to build SPA but with my experience I will prefer to go with Ruby on Rails as this is one of the useful frameworks to build single page application.


1 Answers

I have personally never needed to do this. But, I have ran across this tutorial http://www.erikveen.dds.nl/distributingrubyapplications/rails.html that I think will be helpful. The tutorial covers how to actually convert a rails app into a standalone exe file.

like image 162
Josh Moore Avatar answered Oct 09 '22 04:10

Josh Moore