https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242703

            Bug ID: 242703
           Summary: net/rubygem-octokit deprecated class used
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: r...@freebsd.org
          Reporter: y...@iaelu.net
             Flags: maintainer-feedback?(r...@freebsd.org)
          Assignee: r...@freebsd.org

Recently got a problem using www/gitlab-ce which is using net/rubygem-octokit.
I can't paste here exact messages because I forgot to copy that to some place
this week-end.

It seems that I had to patch this file:
/usr/local/lib/ruby/gems/2.6/gems/octokit-4.13.0/lib/octokit/middleware/follow_redirects.rb

so that it does not use a deprecated '...ClientError' class, and had to replace
with 'Faraday::ClientError' instead of the one used when the package is
installed from packages. It should be located on line 14, and now is :

```
    class RedirectLimitReached < Faraday::ClientError
```

Sorry if this is not very clear.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-ruby@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ruby
To unsubscribe, send any mail to "freebsd-ruby-unsubscr...@freebsd.org"

Reply via email to