Sunday, April 05, 2015

pessimistic dependency may be overly strict

ISSUE

$rake build
WARNING:  pessimistic dependency on jeweler (~> 2.0.1, development) may be overly strict
  if jeweler is semantically versioned, use:
    add_development_dependency 'jeweler', '~> 2.0', '>= 2.0.1'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: pdf_stamper
  Version: 0.2.0
  File: pdf_stamper-0.2.0.gem

RESOLUTION

group :development do
  gem "rdoc", "~> 3.12"
  gem "bundler", "~> 1.0"
  gem "jeweler", "~> 2.0"
end
 

Now you can build the gem file:

 $rm -rf pkg
 $rake build
  Successfully built RubyGem
  Name: pdf_stamper
  Version: 0.2.0
  File: pdf_stamper-0.2.0.gem