<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BLOCKQUOTE type="cite"><DIV style=""><BLOCKQUOTE class="gmail_quote" style="padding-left: 1ex; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid; "><DIV bgcolor="#ffffff"><DIV style="">----- Original Message -----</DIV><BLOCKQUOTE style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left-color: rgb(0, 0, 0); border-left-width: 2px; border-left-style: solid; margin-right: 0px; "><DIV style="background-image: initial; background-repeat: initial; background-attachment: initial; background-position-x: initial; background-position-y: initial; background-color: rgb(228, 228, 228); font: normal normal normal 10pt/normal arial; "><B>From:</B> <A title="bill.walton@charter.net" onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:bill.walton@charter.net" target="_blank">Bill Walton</A></DIV><DIV style="font: normal normal normal 10pt/normal arial; "><B>To:</B> <A title="backgroundrb-devel@rubyforge.org" onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:backgroundrb-devel@rubyforge.org" target="_blank">BackgroundRb</A></DIV><DIV style="font: normal normal normal 10pt/normal arial; "><B>Sent:</B> Tuesday, October 24, 2006 7:58 AM</DIV><DIV style="font: normal normal normal 10pt/normal arial; "><B>Subject:</B> [Backgroundrb-devel] deployment issues?</DIV><SPAN class="q"><DIV style=""><BR style=""> </DIV><DIV style=""><FONT class="Apple-style-span" face="Arial" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">Thanks to many of you, I've got my session management working with BackGrounDRb.  Very cool.  So now I need to deploy it.  I'm on a shared hosting plan (at a2hosting in case that matters).  Are there any issues I should expect to have to deal with in getting them to deploy the plugin?  Anything special I need to do?  I'm wondering in particular about the 'start up' steps.</SPAN></FONT></DIV><DIV style=""> </DIV><DIV style=""><FONT class="Apple-style-span" face="Arial" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">Thanks!</SPAN></FONT></DIV><DIV style=""><FONT class="Apple-style-span" face="Arial" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">Bill</SPAN></FONT></DIV></SPAN></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><DIV><BLOCKQUOTE type="cite"><DIV><SPAN class="gmail_quote">On 10/25/06, <B class="gmail_sendername">Bill Walton</B> &lt;<A href="mailto:bill.walton@charter.net">bill.walton@charter.net</A>&gt; wrote:</SPAN> <BLOCKQUOTE class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> <DIV bgcolor="#ffffff"> <DIV><FONT face="Arial" size="2">I sent the tech support folks at my host the following question:</FONT></DIV> <DIV><FONT face="Arial" size="2"></FONT> </DIV> <DIV><SPAN>I need to get the BackgrounDRb plugin ( <A onclick="return top.js.OpenExtLink(window,event,this)" href="http://rubyforge.org/projects/backgroundrb/" target="_blank">http://rubyforge.org/projects/backgroundrb/</A> ) installed for my app. Is that something I get you to do? Or is it something I need to do myself?</SPAN></DIV> <DIV><SPAN></SPAN> </DIV> <DIV><SPAN><FONT face="Arial" size="2">To which they replied:</FONT></SPAN></DIV> <DIV><SPAN><FONT face="Arial" size="2"></FONT></SPAN> </DIV> <DIV><SPAN><SPAN>If this is a simple gem install we can do that. Please provide the exact name of the gem used in the 'gem install' command. Thanks.</SPAN></SPAN></DIV> <DIV><SPAN><SPAN></SPAN></SPAN> </DIV> <DIV><SPAN><SPAN><FONT face="Arial" size="2">How should I respond?  Is there a difference between a gem and a plugin?  Is this something I can / should do myself on a shared hosting platform?</FONT></SPAN></SPAN></DIV> <DIV><SPAN><SPAN><FONT face="Arial" size="2"></FONT></SPAN></SPAN> </DIV> <DIV><SPAN><SPAN><FONT face="Arial" size="2">Thanks,</FONT></SPAN></SPAN></DIV> <DIV><SPAN><SPAN><FONT face="Arial" size="2">Bill</FONT></SPAN></SPAN></DIV> <DIV><SPAN><SPAN><FONT face="Arial" size="2"></FONT></SPAN></SPAN> </DIV> </DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>On Oct 25, 2006, at 10:54 AM, Michael D'Auria wrote:</DIV><BLOCKQUOTE type="cite"><DIV style="">BackgrounDRb is a plugin, which means it is specific to your app whereas a gem is a globally available piece of software.  The best gem example i can give is mongrel, you install it once and use it with all your apps.</DIV><DIV style=""> </DIV><DIV style="">This means that you will have to install the plugin yourself, what is your dev environment?  If you develop on your local machine, which you should be, then you can just issue "script/plugin install svn://rubyforge.org//var/svn/backgroundrb"  All on one line of course.  You can follow the rest of the installation directions here: <A href="http://backgroundrb.rubyforge.org/">http://backgroundrb.rubyforge.org/</A>.  Once it is installed locally and working locally, you can just simply upload your project to your hosting provider.</DIV><DIV style=""> </DIV><DIV style="">.: Michael :. </DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>And the startup script for BackgrounDRb specifically expects:<DIV><BR class="khtml-block-placeholder"></DIV><DIV>require RAILS_ROOT + '/vendor/plugins/backgroundrb/backgroundrb.rb'</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>so you really don't have a choice but to install it as a plugin.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I just got a deployed BackgrounDRb working on a PowerVPS host and needed to make RAILS_ENV=production explicit as well as adding a 'nohup' to keep the detached process running when deployed (or  restarted) through capistrano.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I just received a response from TextDrive (i.e., another shared host environment) about my question regarding a port number to use.  The suggestion was to use a Unix-domain socket rather than a TCP socket (port).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I need to pull the latest code from the svn and see about what kind of patch(es) I might be able to give back to Ezra and one of them may be to permit use of a Unix rather than TCP socket.  I'll post my solution back to the list.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-Rob</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Rob Biedenharn<SPAN class="Apple-tab-span" style="white-space:pre"><SPAN class="Apple-style-span" style="white-space: pre; ">                </SPAN></SPAN><A href="http://agileconsultingllc.com">http://agileconsultingllc.com</A></DIV><DIV><A href="mailto:Rob@AgileConsultingLLC.com">Rob@AgileConsultingLLC.com</A></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></DIV></BODY></HTML>