Sha256: f700cb9b593e3cc3729b3b9fa6da2a0e787081ab0bd5f4d0d5901d38672bfcfd

Contents?: true

Size: 366 Bytes

Versions: 11

Compression:

Stored size: 366 Bytes

Contents

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

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
nesquena-cap-recipes-0.3.16 lib/cap_recipes/tasks/memcache/install.rb
nesquena-cap-recipes-0.3.17 lib/cap_recipes/tasks/memcache/install.rb
nesquena-cap-recipes-0.3.18 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.26 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.25 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.24 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.23 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.22 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.21 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.20 lib/cap_recipes/tasks/memcache/install.rb
cap-recipes-0.3.18 lib/cap_recipes/tasks/memcache/install.rb