Sha256: 4c69c214b547aa5ca774fe4f0c744921329d95b6023cbbf4432c35925e923bba

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

# Copyright 2006-2008 by Mike Bailey. All rights reserved.
Capistrano::Configuration.instance(:must_exist).load do 

  namespace :deprec do
    namespace :ree do

      set :ree_version, "ruby-enterprise-1.8.6-20081217"
      set :ree_install_dir, "/opt/#{ree_version}"
      set :ree_filename, "#{ree_version}.tar.gz"

      SRC_PACKAGES[:ree] = {
        :md5sum => "8d04b48e33a485280b86d6cdb156eebe  #{ree_filename}", 
        :url => "http://github.com/isaac/rubyenterpriseedition/raw/release/#{ree_filename}",
        :unpack => "tar xzvf #{ree_filename};",
        :configure => '',
        :make => '',
        :install => "./installer --auto #{ree_install_dir}"
      }
  
      task :install do
        install_deps
        deprec2.download_src(SRC_PACKAGES[:ree], ree_install_dir)
        deprec2.install_from_src(SRC_PACKAGES[:ree], ree_install_dir)
      end
      
      task :install_deps do
        apt.install({:base => %w(zlib1g-dev libssl-dev libmysqlclient15-dev libreadline5-dev)}, :stable)
      end

    end
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
isaac-deprec-1.99.30 lib/deprec/recipes/ree.rb