Browse the Ruby on Rails Community.

You are here: Forums Ask a Rails expert Install rails application...

Replytotopic

Install rails application

Posted in Forums : Ask a Rails expert

 
Profile

Authority 0
Posting Rating 17
Sign in to rate this post

Hello

I have finished my rails application. It has gems and plugins installed.
Now, I would like to create a package installation “windows like”. That is, the user click on an install file, and several actions are made automatically: – test if Rails is installed on the machine. If not, install it – install needed gems – install the application – install the plugins – ends the installation process with a message “Installation successfull”

How can I do that?

 
Me_version_2

Authority 37
Posting Rating 94
Sign in to rate this post

I’m not sure if there are any mature ruby-based installers out there, but I think that you should be able to run something like:

http://izpack.org/

In order to bundle up your app. You can include your own custom logic as well, and you can define whatever screens you wish in your installer. And hey, if you don’t care for Java, you can always use JRuby inside of izpack :) (I think).

I’ve used izpack before, and for a free installer that works on virtually every platform out there, it could fit your needs.

 
Profile

Authority 0
Posting Rating 17
Sign in to rate this post

I dont know this software and i’m going to try it.
Thank you very for your tip.
Regards

 
Me

Authority 62
Posting Rating 100
Sign in to rate this post

Paulo, once you’ve managed that, it’d be great to have a blog post from you about your experience. Deploying Rails is still a pretty complicated topic and needs some best practices, especially when talking about packaging software (since Rails still seems to be used mostly for SAAS or a single hosted application rather than as a package).

Replytotopic

Other Recent Topics

Ask a Rails expert : Use Rails to develop sites for both Designer and Programmer

Ask a Rails expert : Rails+RS232

Ask a Rails expert : Is this a good way to add Admin section

Ask a Rails expert : RSS feed maker in rails 2.1

Ask a Rails expert : Syncing with ugly legacy databases

Ask a Rails expert : juggernaut Error

Ask a Rails expert : gem "chronic" error

Ask a Rails expert : gem install error

Ask a Rails expert : need your help or views for distributed programming with ruby

Ask a Rails expert : how to refresh ruby files without restart production server

Formatting Help
  • *bold*       _italics_      
    bq. (quotes)
  • "DSC":http://www.dsc.net
  • * or # (lists)
or cancel