Created attachment 156037 [details] patch against textproc/rubygem-gitlab-linguist While working at a port for gitlab, i figured out, that an update for this gem is needed. Patch attached :)
Poudriere-Testlog: http://ports.toco-domains.de/poudriere-test-logs/rubygem-gitlab-linguist-3.0.1.log
that's not working out of the box: irb(main):002:0> require 'linguist' Gem::LoadError: Could not find 'charlock_holmes' (~> 0.6.6) - did find: [charlock_holmes-0.7.3] at least the gemspec needs to get patched and evaluated if linguist is indeed working with the newer versions of the dependent gem(s).
I will have a look at it. The gemspec at the homepage allows the new charlock_holmes: https://github.com/github/linguist But the linked Homepage and the gem itself do not seem to be identical.
gitlab-linguist is a fork of github-linguist and the gemspec was not correctly updated, at least not in the last released/tagged version.
Created attachment 157161 [details] now with patch of the gemspec I see what you mean. The problem is, that the github version is actually at 4.5.5 while the gem stays at 3.0.1. I've updated the patch and patches the gemspec. But its not a final patch. More work is needed, but at the moment i could not proceed, because rubygem-rugged is not building. I will have at this later.
this is fine, as you can control this via the version pnning in the gemfile then
A commit references this bug: Author: mmoll Date: Tue May 26 17:56:10 UTC 2015 New revision: 387498 URL: https://svnweb.freebsd.org/changeset/ports/387498 Log: textproc/rubygem-gitlab-linguist: update to 3.0.1 PR: 199730 Differential Revision: https://reviews.freebsd.org/D2627 Submitted by: Torsten Zuehlsdorff <ports@toco-domains.de> Approved by: swills (mentor) Changes: head/textproc/rubygem-gitlab-linguist/Makefile head/textproc/rubygem-gitlab-linguist/distinfo head/textproc/rubygem-gitlab-linguist/files/ head/textproc/rubygem-gitlab-linguist/files/patch-gitlab-linguist.gemspec
committed, thanks!