<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -12,9 +12,10 @@ namespace :ruby do
   desc &quot;Install Ruby Enterpise Edition&quot;
   task :install_enterprise, :roles =&gt; :app do
     sudo &quot;apt-get install libssl-dev -y&quot;
+    sudo &quot;apt-get install libreadline5-dev -y&quot;
     
     run &quot;test ! -d /opt/#{ruby_enterprise_version}&quot;
-    run &quot;curl -LO http://rubyforge.org/frs/download.php/48623/#{ruby_enterprise_version}.tar.gz&quot;
+    run &quot;curl -LO http://rubyforge.org/frs/download.php/50087/#{ruby_enterprise_version}.tar.gz&quot;
     run &quot;tar xzvf #{ruby_enterprise_version}.tar.gz&quot;
     run &quot;rm #{ruby_enterprise_version}.tar.gz&quot;
     sudo &quot;./#{ruby_enterprise_version}/installer --auto /opt/#{ruby_enterprise_version}&quot;
@@ -22,28 +23,11 @@ namespace :ruby do
     
     # create a &quot;permanent&quot; link to the current REE install
     sudo &quot;ln -s /opt/#{ruby_enterprise_version} /opt/ruby-enterprise&quot; 
-  end
-  
-  desc &quot;USELESS Install Phusion Passenger&quot;
-  task :useless_install_passenger, :roles =&gt; :app do
-    # because  passenger-install-apache2-module do not find the rake installed by REE
-    sudo &quot;gem install rake&quot;
     
-    sudo &quot;apt-get install apache2-mpm-prefork -y&quot;
-    sudo &quot;aptitude install libapr1-dev -y&quot;
-    sudo &quot;apt-get install apache2-prefork-dev -y&quot;
-
-    sudo &quot;/usr/bin/gem install passenger&quot;
-    run &quot;echo -en '\n\n\n\n\n' | sudo passenger-install-apache2-module&quot;
-
-    put render(&quot;passenger.load&quot;, binding), &quot;/home/#{user}/passenger.load&quot;
-    put render(&quot;passenger.conf&quot;, binding), &quot;/home/#{user}/passenger.conf&quot;
-
-    sudo &quot;mv /home/#{user}/passenger.load /etc/apache2/mods-available/&quot;
-    sudo &quot;mv /home/#{user}/passenger.conf /etc/apache2/mods-available/&quot;
-
-    sudo &quot;a2enmod passenger&quot;
-    apache.force_reload
+    # add REE bin to the path
+    run &quot;cat /etc/environment &gt; ~/environment.tmp&quot;
+    run 'echo PATH=&quot;/opt/ruby-enterprise/bin:$PATH&quot; &gt;&gt; ~/environment.tmp'
+    sudo 'mv ~/environment.tmp /etc/environment'
   end
   
   desc &quot;Install Phusion Passenger&quot;</diff>
      <filename>lib/capistrano/ext/ubuntu-machine/ruby.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 Gem::Specification.new do |s|
   s.name     = &quot;ubuntu-machine&quot;
-  s.version  = &quot;0.3.0&quot;
-  s.date     = &quot;2009-01-15&quot;
+  s.version  = &quot;0.3.1&quot;
+  s.date     = &quot;2009-01-18&quot;
   s.summary  = &quot;Capistrano recipes for setting up and deploying to a Ubuntu Machine&quot;
   s.email    = &quot;thomas@suitmymind.com&quot;
   s.homepage = &quot;http://suitmymind.github.com/ubuntu-machine&quot;</diff>
      <filename>ubuntu-machine.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e9cf320f390ddeb2411ee52114a74da18530d29e</id>
    </parent>
  </parents>
  <author>
    <name>Thomas Balthazar</name>
    <email>thomas@suitmymind.com</email>
  </author>
  <url>http://github.com/suitmymind/ubuntu-machine/commit/047b4856dbb109ceb7cb36dd8646269c8770719c</url>
  <id>047b4856dbb109ceb7cb36dd8646269c8770719c</id>
  <committed-date>2009-01-18T02:19:01-08:00</committed-date>
  <authored-date>2009-01-18T02:19:01-08:00</authored-date>
  <message>[#13 state:resolved] : Cap deploy with migrations fails
Also install the latest version of REE : ruby-enterprise-1.8.6-20090113</message>
  <tree>0603c3098ffa6cb9d7f2972ed96ffc6c12ac1494</tree>
  <committer>
    <name>Thomas Balthazar</name>
    <email>thomas@suitmymind.com</email>
  </committer>
</commit>
