Gem::Specification.new do |gem|
  gem.name = 'auto_html'
  gem.version = '1.6.0'
  gem.date = Date.today.to_s

  gem.summary = "Transform URIs to appropriate markup"
  gem.description = "Automatically transforms URIs (via domain) and includes the destination resource (Vimeo, YouTube movie, image, ...) in your document"
  
  gem.authors  = ['Dejan Simic']
  gem.email    = 'desimic@gmail.com'
  gem.homepage = 'http://github.com/dejan/auto_html'

  gem.add_dependency('rinku', '~> 1.5.0')
  gem.add_dependency('redcarpet', '~> 2.0')

  # ensure the gem is built out of versioned files
  gem.files = Dir['Rakefile', '{bin,lib,man,test,spec}/**/*',
                  'README*', 'LICENSE'] & `git ls-files -z`.split("\0")
end


Gem::Specification.new do |gem|
  gem.name = 'auto_html'
  gem.version = '1.6.0'

  gem.summary = "Transform URIs to appropriate markup"
  gem.description = "Automatically transforms URIs (via domain) and includes the destination resource (Vimeo, YouTube movie, image, ...) in your document"
  
  gem.authors  = ['Dejan Simic']
  gem.email    = 'desimic@gmail.com'
  gem.homepage = 'http://github.com/dejan/auto_html'

  gem.add_dependency('rinku', '~> 1.5.0')
  gem.add_dependency('redcarpet', '~> 2.0')

  # ensure the gem is built out of versioned files
  gem.files = Dir['Rakefile', '{bin,lib,man,test,spec}/**/*',
                  'README*', 'LICENSE'] & `git ls-files -z`.split("\0")
end


Remove gem.date from the gemspec.
Remove gem.date from the gemspec.

This was causing errors when deploying to engine yard and heroku. I've seen many
other repos have this same issue. Another solution could be adding require
'date' to the gemspec, but I find setting gem.date to today's date somewhat
useless.
