<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -19,9 +19,20 @@ namespace :rubber do
 
       if ent_ruby_hosts.size &gt; 0
         task :_install_enterprise_ruby, :hosts =&gt; ent_ruby_hosts do
-          custom_package('http://rubyforge.org/frs/download.php/66164',
-                         'ruby-enterprise', '1.8.7-2009.10',
-                         '! `ruby --version 2&gt; /dev/null` =~ &quot;Ruby Enterprise Edition 2009.10&quot;')
+          ver = &quot;1.8.7-2009.10&quot;
+          rubber.run_script &quot;install_ruby-enterprise&quot;, &lt;&lt;-ENDSCRIPT
+            if [[ ! `ruby --version 2&gt; /dev/null` =~ &quot;Ruby Enterprise Edition 2009.10&quot; ]]; then
+              arch=`uname -m`
+              if [ &quot;$arch&quot; = &quot;x86_64&quot; ]; then
+                src=&quot;http://rubyforge.org/frs/download.php/66163/ruby-enterprise_#{ver}_amd64.deb&quot;
+              else
+                src=&quot;http://rubyforge.org/frs/download.php/66164/ruby-enterprise_#{ver}_i386.deb&quot;
+              fi
+              src_file=&quot;${src##*/}&quot;
+              wget -qP /tmp ${src}
+              dpkg -i /tmp/${src_file}
+            fi
+          ENDSCRIPT
         end
 
         _install_enterprise_ruby</diff>
      <filename>generators/vulcanize/templates/base/config/rubber/deploy-setup.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fd2e59365e53ea475c564f55c4b7e3bd4be52ac7</id>
    </parent>
  </parents>
  <author>
    <name>Matt Conway</name>
    <email>wr0ngway@yahoo.com</email>
  </author>
  <url>http://github.com/wr0ngway/rubber/commit/fbdeab3b9a46b9141fa5542b28d5898dbfe47bb3</url>
  <id>fbdeab3b9a46b9141fa5542b28d5898dbfe47bb3</id>
  <committed-date>2009-11-13T16:16:38-08:00</committed-date>
  <authored-date>2009-11-13T16:16:38-08:00</authored-date>
  <message>stop using helper method to install ree as it uses different path for 64bit pkg</message>
  <tree>4102d85d3ceba72d2febcbc6e51ae8ef2b94b838</tree>
  <committer>
    <name>Matt Conway</name>
    <email>wr0ngway@yahoo.com</email>
  </committer>
</commit>
