REA Ruby gem notes (unofficial)
RubyGems artifacts expose gemspec identity plus a .gem archive payload. REA 6.7.x should treat them as files + nested members, not a RubyGems.org client.
Mental model
- Confirm authorization for the gem or vendor tree.
- Inventory the absolute
.gem(or quote.gemspecfields in a source checkout). - Note name/version/authors/summary strings actually present as Evidence.
- If native extensions ship
.so/.bundle, hand those absolute paths to native routes. - Pure-Ruby payloads stay source/text — do not invent a Ruby bytecode decompiler product.
Minimal path
# authorized .gem or vendored gem tree
# REA archive inventory on /absolute/path/foo-1.2.3.gem --json
# quote gemspec identity; native-route any extension binaries you extract under authorization
Compare
| Artifact | Honest posture |
|---|---|
.gem archive | Archive inventory + metadata quotes |
Standalone .gemspec | Source facts only |
Native extension .so | Native/static diagnostics |
| npm / wheels analogues | rea-npm-packages, rea-pip-wheels |
Scope we will not cover
- No RubyGems credential theft.
- No pirate redistribution of paid gems.
- No inventing
inspect_gem/ Rails-magic MCP tools. - No crack framing for commercial Ruby products.
RepoRead is unofficial. Prefer archive inventory + DISCLAIMER.md.
FAQ
Is there inspect_gem in 6.7.0?
Not assumed. Prefer archive/package inventory honesty on an authorized .gem path, then quote gemspec name/version/summary facts you actually see.
What is a .gem file?
A RubyGems package archive carrying metadata and payload files (often tar layers inside). Treat unknown inner layouts carefully — record members Evidence returns rather than inventing a full gem filesystem product.
gemspec without the .gem?
A standalone .gemspec is source metadata. Quote fields you read; binary/native extension gems still need the built artifacts for native routes.
Credentials / API keys?
Never harvest RubyGems.org tokens or host credentials. Local vendor/cache trees your org owns only.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).