Anyone know any good resources for distributing complex Ruby on Rail applications (and all of their dependencies) using bitrock?

I work on Snorby (a Network security RoR app) and we were inspired by Github's enterprise bitrock installer to try and do something similar. After a little bit of research it looks like we need to replicate what Bitnami is doing with its Rubystack installer but customize it to our needs.

Does anyone have documentation, examples, or anything else on how to accomplish this? We're first-time bitrock users and any help would be appreciated before we jump right into the deep-end.

asked 13 Nov '11, 15:39

terracatta's gravatar image

terracatta
1111
accept rate: 0%


Hi Jason, we replied separately via email. Basically the easiest way would be to ask users to install first RubyStack and then run your installer, or you can bundle the RubyStack installer with your app and install it in unattended mode.

link

answered 14 Nov '11, 04:51

ridruejo's gravatar image

ridruejo ♦♦
57238
accept rate: 27%

Hi, I wish to package my Rails app for Windows with the Ruby Stack too. Please can you share the instructions, it would be very handy to get stared with the Install Builder.

link

answered 02 May '13, 03:00

anandm's gravatar image

anandm
1
accept rate: 0%

I you bundle the rubystack installer, deploying it in unattended mode would be as easy as including the below code in your <componentList>:

    <component>
        <name>rubystack</name>
        <description>RubyStack</description>
        <canBeEdited>0</canBeEdited>
        <selected>1</selected>
        <show>1</show>
        <folderList>
            <folder>
                <description>RubyStack Windows</description>
                <destination>${installdir}/tmp/</destination>
                <name>rubystackWindows</name>
                <platforms>windows</platforms>
                <distributionFileList>
                    <distributionFile>
                        <origin>path/to/rubystack.exe</origin>
                    </distributionFile>
                </distributionFileList>
                <actionList>
                     <showProgressDialog>
                        <actionList>
                           <runProgram program="${installdir}/tmp/rubystack.exe">
                              <programArguments>--prefix "${installdir}/rubystack" --mode unattended --base_password ${password}</programArguments>
                           </runProgram>
                        </actionList>
                     </showProgressDialog>    
                </actionList>
            </folder>
        </folderList>
    </component>
link

answered 02 May '13, 07:45

juanjo's gravatar image

juanjo ♦♦
5.8k413
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×5
×2
×2
×1
×1
×1
×1

Asked: 13 Nov '11, 15:39

Seen: 1,831 times

Last updated: 02 May '13, 07:45