```ruby
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "version"

Gem::Specification.new do |s|
  s.name        = "capistrano-cook"
  s.version     = CapistranoCook::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["Kacper Kawecki"]
  s.email       = ["kacper@subsis.com"]
  s.homepage    = ""
  s.summary     = %q{Capistrano recipes for Rails}
  s.description = %q{Extend the Capistrano gem with these useful recipes}

  s.required_rubygems_version = ">= 1.3.6"

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.require_paths = ["lib"]
  s.extra_rdoc_files = [
    "LICENSE"
  ]

  s.add_dependency "capistrano", "~> 2.5.9"
  s.add_dependency "capistrano-ext", ">= 1.2.1"
end
```

Support all versions of 2.x.x of Capistrano.
user
```ruby
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "version"

Gem::Specification.new do |s|
  s.name        = "capistrano-cook"
  s.version     = CapistranoCook::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["Kacper Kawecki"]
  s.email       = ["kacper@subsis.com"]
  s.homepage    = ""
  s.summary     = %q{Capistrano recipes for Rails}
  s.description = %q{Extend the Capistrano gem with these useful recipes}

  s.required_rubygems_version = ">= 1.3.6"

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.require_paths = ["lib"]
  s.extra_rdoc_files = [
    "LICENSE"
  ]

  s.add_dependency "capistrano", [">= 2.5.9", "< 3.0"]
  s.add_dependency "capistrano-ext", ">= 1.2.1"
end
```
assistant