```ruby
# encoding: utf-8

require 'jeweler'

README_PATH = File.expand_path('../README.md', File.dirname(__FILE__))

def extract_description_from_readme
  readme = File.open(README_PATH, 'r', &:read)
  s = readme[/^# FTPD\n+((?:.*\n)+?)\n*##/i, 1]
  s.gsub(/\n/, ' ').strip
end

Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see
  # http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = 'ftpd'
  gem.homepage = 'http://github.com/wconrad/ftpd'
  gem.license = 'MIT'
  gem.summary = %Q{Pure Ruby FTP server library}
  gem.description = extract_description_from_readme
  gem.email = 'wconrad@yagni.com'
  gem.authors = ['Wayne Conrad']
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new
```

Fix rake tasks, busted by b9e5a88 (Add code climate tag to README)
user
```ruby
# encoding: utf-8

require 'jeweler'

README_PATH = File.expand_path('../README.md', File.dirname(__FILE__))

def extract_description_from_readme
  readme = File.open(README_PATH, 'r', &:read)
  s = readme[/^# FTPD.*\n+((?:.*\n)+?)\n*##/i, 1]
  s.gsub(/\n/, ' ').strip
end

Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see
  # http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = 'ftpd'
  gem.homepage = 'http://github.com/wconrad/ftpd'
  gem.license = 'MIT'
  gem.summary = %Q{Pure Ruby FTP server library}
  gem.description = extract_description_from_readme
  gem.email = 'wconrad@yagni.com'
  gem.authors = ['Wayne Conrad']
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new
```
assistant