Sha256: 9d3becd134386a1932b9482d345f9d9e85de43e24831b392f7314949c308f969

Contents?: true

Size: 431 Bytes

Versions: 12

Compression:

Stored size: 431 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../utilities')

Capistrano::Configuration.instance(true).load do
  namespace :memcache do
    
    desc 'Installs memcache and the ruby gem'
    task :install, :roles => :app do
      puts 'Installing memcache'
      utilities.apt_install 'memcached'
      try_sudo "#{base_ruby_path}/bin/gem install memcache-client --no-ri --no-rdoc"
      memcache.start
    end
    
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cap-recipes-0.3.39 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.38 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.37 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.36 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.35 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.34 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.33 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.32 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.30 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.29 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.28 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.27 lib/cap_recipes/tasks/memcache/install.rb