ruby / ruby/snap.ruby

Set GEM_HOME including current ABI Ruby version

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

Nobody has claimed this yet.

Dominant language
HTML
Stars
32
Forks
5
Avg merge
14h 17m
Merged PRs (30d)
1

Description

Hello! Thanks for the snap Ruby package, it works pretty well. I have one question though:

By default snap Ruby package install gems into ~/.gem directory, which is of course better than installing system-wide (don't need sudo).
But I found this behavior a little bit confusing, because it didn't match --user-install behavior where everything goes into ~/.gem/ruby/current_ABI_ruby_version_number rather than just to ~/.gem.

Is current behavior is expected?

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

The issue names no source files, tests, or entry points. Start by locating where the snap package sets GEM_HOME and compare it with RubyGems --user-install behavior. Done means the package uses a path containing the current ABI Ruby version, with the expected behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.