gem install ignores git sources in Gemfile
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 4k
- Forks
- 1.9k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 81
Description
I'm having a problem or would like to suggest a feature.
My current problem is gem install ignores git sources in Gemfile
This issue is related to:
- Network problems
- Installing a library
- Publishing a library
- The command line
gem - Other
Here are my current environment details:
$ gem env version
3.0.6
Gemfile:
gem 'rspec', github: 'rspec'
gem i -g installs rspec but the latest version available on rubygems.org, not the one on github.
gem i -g output:
Fetching rspec-support-3.9.0.gem
Fetching rspec-core-3.9.0.gem
Fetching rspec-mocks-3.9.0.gem
Fetching rspec-expectations-3.9.0.gem
Fetching rspec-3.9.0.gem
Installing rspec-support (3.9.0)
Installing rspec-core (3.9.0)
Using diff-lcs (1.3)
Installing rspec-expectations (3.9.0)
Installing rspec-mocks (3.9.0)
Installing rspec (3.9.0)
At the moment version in the repository is 3.10.0.pre.
I will abide by the code of conduct.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior with the shown Gemfile entry and the gem i -g command, comparing the installed version with the repository version linked in lib/rspec/version.rb. Trace how gem install handles the Gemfile's GitHub source; done means the command installs the requested Git source rather than the latest RubyGems release.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, ruby
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100