How to develope a standalone application in Rails

438 views
Skip to first unread message

Hans

unread,
Feb 13, 2012, 7:39:11 AM2/13/12
to Ruby on Rails: Talk
I have developed a rails 3.1 application with mysql, accessable by
internet
However, I also need a version of the same application used standalone
on the users PC or MAC, i.e a form of an off-line mode, for those
users that demand full controle of their data

Can that be done ? My requiremets are
- a local database
- an application that is easy to install and not require separate
installations of ruby, rails, webserver, mysql or sqlite etc
- an application that runs both on PC and MAC

What I need is a railsapplication that any user can install with a few
commands and that works locally as a standalone application or as a
rails application in production mode, using a local database and the
web-browser locally.
Is that possible ?


Norm Scherer

unread,
Feb 13, 2012, 11:05:29 AM2/13/12
to rubyonra...@googlegroups.com

It sounds like what you want is InstantRails however it only works on
Windows and has not been updated recently. It works fine on Windows to
support a stand-alone app with a little tweaking.

Walter Lee Davis

unread,
Feb 13, 2012, 11:12:16 AM2/13/12
to rubyonra...@googlegroups.com

What was that offline Rails framework that Joyent created a few years back? I know they open-sourced it, but I forget what it was called or whether it survived the jump to Rails 3.

Walter

Gerardo Argiz

unread,
Feb 13, 2012, 7:59:46 AM2/13/12
to rubyonra...@googlegroups.com
Take a look at http://www.erikveen.dds.nl/distributingrubyapplications/rails.html


Gerard



--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


Christian Hjalmarsson

unread,
Feb 13, 2012, 1:27:02 PM2/13/12
to rubyonra...@googlegroups.com
Can it be slingshot ?

http://joyeur.com/2007/03/22/joyent-slingshot/

/Christian

Walter Lee Davis

unread,
Feb 14, 2012, 11:33:06 AM2/14/12
to rubyonra...@googlegroups.com
That was it. And I was conflating that with Connector, which they did open-source: https://github.com/jacques/joyent-connector along with a huge "this probably won't work in 3 unless you completely re-write it". As far as I can tell, slingshot is nowhere to be found.

Walter

Hans

unread,
Feb 15, 2012, 4:22:15 AM2/15/12
to Ruby on Rails: Talk
Thanks for all comments
The http://www.erikveen.dds.nl/distributingrubyapplications/rails.html
link seems promising but it was written 200 and much has happened with
both rails and ruby since then, so it might not be up to date

My main conclusion from you comments is that it is possible but there
is no offline Rails framework available today, for rails 3 and for
ruby 1.9

Is that correct ???

On 13 Feb, 13:59, Gerardo Argiz <gar...@gmail.com> wrote:
> Take a look athttp://www.erikveen.dds.nl/distributingrubyapplications/rails.html

Norm Scherer

unread,
May 25, 2013, 2:36:27 PM5/25/13
to rubyonra...@googlegroups.com
I have not used Rails 3.x but with 2.3 I use Instant Rails as a prepackaged system MS Windows.  It is basically impossible to have a prepackaged system that runs on Mac and Windows because of the incompatibility of their systems.  On InstantRails (available from rubyforge.org) I upgraded the version of ruby and I just freeze the rails and all the gems I can.   Take a look at it and see if 2.3.15 will satisfy your requirements.  You may be able to upgrade InstantRails to support 3.x but I have not done that yet.

Norm

On 05/24/2013 02:06 AM, Hugo wrote:
Hi Hans,

Have you finally found a solution for your problem ?
I have the same problematic you had and I can't find any solution except using rack-offline (railscast).
Unfortunately, my applications must be compatible with FireFox 3.6+ and IE7+...
I develop my application on Linux system. 

Thanks in advance

Hugo
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.

To post to this group, send email to rubyonra...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages