octokit/octokit.rb — pull request #350 by benburkert (2013-12-03 01:24:38+00:00)
Title: Use a relative path for search requests

The API endpoint for GitHub Enterprise is located at /api/v3. By setting the preceding / in the api path it's treating the path as a full path instead of a relative path. Removing the slash allows the search methods to work with both enterprise & dotcom.