libgit2 / libgit2/rugged

gem slow to install

Open
#895 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
2.3k
Forks
293
PR merge metrics
No merged PRs in 30d

Description

I'm on mac and this gem took me over a minute to install.

% time gem install rugged      
Fetching rugged-1.3.0.gem
Building native extensions. This could take a while...
Successfully installed rugged-1.3.0
Parsing documentation for rugged-1.3.0
Installing ri documentation for rugged-1.3.0
Done installing documentation for rugged after 1 seconds
1 gem installed
gem install rugged  63.66s user 19.57s system 88% cpu 1:34.32 total

It's the "Building native extensions" part that takes up most of the time. I haven't seen many gems take this long to install. Is there any way to get this faster? Is this just my machine? Is it this slow on linux too?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing gem install rugged on macOS, focusing on the “Building native extensions” step, and compare the result with Linux as requested. The report names no source files or tests, so first identify the native-extension build entry point. Done means establishing the cause and whether a verified improvement or platform-specific explanation is possible.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, ruby
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.