You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
gem.test
Set for the current user (/Users/.bundle/config): "false"
gem.mit
Set for the current user (/Users/.bundle/config): "true"
gem.coc
Set for the current user (/Users/.bundle/config): "true"
trampoline_disable
Set via BUNDLE_TRAMPOLINE_DISABLE: "1"
The text was updated successfully, but these errors were encountered:
Also bundle inject 'pry' > '>0' shows(and does) nothing.
and
bundle inject 'pry'1234 '>0'
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/.
Could not find gem 'pry1234 (> 0)' in any of the gem sources listed in your Gemfile.
Show inject usage when args are passed incorrectly
Closes#5384
Now it shows the error :
```
$ bundle inject "gem_name" 1 "v"
ERROR: "bundle inject" was called with arguments ["gem_name", "1", "v"]
Usage: "bundle inject GEM VERSION"
$ bundle inject "gem_name" "v" 1
ERROR: "bundle inject" was called with arguments ["gem_name", "v", "1"]
Usage: "bundle inject GEM VERSION"
```
Show inject usage when args are passed incorrectly
Closes#5384
Now it shows the error :
```
$ bundle inject "gem_name" 1 "v"
ERROR: "bundle inject" was called with arguments ["gem_name", "1", "v"]
Usage: "bundle inject GEM VERSION"
$ bundle inject "gem_name" "v" 1
ERROR: "bundle inject" was called with arguments ["gem_name", "v", "1"]
Usage: "bundle inject GEM VERSION"
```
(cherry picked from commit ec5cab3)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
$ bundle inject 'pry' 1 '>0'
--- ERROR REPORT TEMPLATE -------------------------------------------------------
Error Report
Questions
Please fill out answers to these questions, it'll help us figure out
why things are going wrong.
What did you do?
I ran the command
bundle inject 'pry' 1 '>0'
What did you expect to happen?
I expected Bundler to show error message saying the correct format and usage of bundle inject.
What happened instead?
Showing to open an issue
Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?
Asked in slack channel.
Have you read our issues document, https://github.com/bundler/bundler/blob/master/ISSUES.md?
yes
Backtrace
Environment
Bundler settings
The text was updated successfully, but these errors were encountered: