Bug 205887 - textproc/rubygem-jekyll-gist sub requirement breaks www/rubygem-jekyll
Summary: textproc/rubygem-jekyll-gist sub requirement breaks www/rubygem-jekyll
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ruby (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-04 18:16 UTC by Sir l33tname
Modified: 2016-03-10 17:05 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ruby)


Attachments
patch to update addressable gem to 2.4.0 (1.59 KB, patch)
2016-02-03 20:30 UTC, Sir l33tname
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sir l33tname 2016-01-04 18:16:00 UTC
I'm trying to run www/rubygem-jekyll with textproc/rubygem-jekyll-gist.

/usr/local/lib/ruby/site_ruby/2.1/rubygems/dependency.rb:318:in `to_specs': Could not find 'addressable' (~> 2.3.5) - did find: [addressable-2.4.0] (Gem::LoadError)
Checked in 'GEM_PATH=/root/.gem/ruby/2.1:/usr/local/lib/ruby/gems/2.1', execute `gem env` for more information
	from /usr/local/lib/ruby/site_ruby/2.1/rubygems/specification.rb:1402:in `block in activate_dependencies'


Turns out jekyll-gist-1.4.0 (octokit (~> 4.2)) using octokit-4.2.0 (sawyer (>= 0.5.3, ~> 0.6.0)) using 'addressable' (~> 2.3.5)

Is there a way to fix this?
Comment 1 Sir l33tname 2016-02-03 20:30:53 UTC
Created attachment 166526 [details]
patch to update addressable gem to 2.4.0
Comment 2 Sir l33tname 2016-02-03 20:33:47 UTC
Created a patch to fix it. Can someone review it and merge it?

There is also a pull request to fix it in the gem itself. https://github.com/lostisland/sawyer/pull/42

Tested and worked for me.