-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error message with rbs_collection #111
Comments
Thank you for your report. Your repro works well for me. Could you elaborate how to reproduce the issue?
|
I noticed that I saw |
The line means rbs collection uses rbs gem's I guess your configuration file doesn't have the |
I included all files in the repo, where's my configuration? |
I guessed you used something else, such as not committed file, in another repo, etc. By the way, I guess I found the cause of the difference between us 🙈 $ git diff rbs_collection.lock.yaml
diff --git a/rbs_collection.lock.yaml b/rbs_collection.lock.yaml
index 3736270..6a321ef 100644
--- a/rbs_collection.lock.yaml
+++ b/rbs_collection.lock.yaml
@@ -10,7 +10,3 @@ gems:
version: '0'
source:
type: stdlib
-- name: rbs
- version: 2.2.2
- source:
- type: rubygems And I can reproduce the problem by resetting the difference. In order to fix the reproducing repo, we need to remove the entry to ignore rbs gem, like the following: $ git diff rbs_collection.yaml
diff --git a/rbs_collection.yaml b/rbs_collection.yaml
index 93de20f..a7e42e7 100644
--- a/rbs_collection.yaml
+++ b/rbs_collection.yaml
@@ -9,6 +9,4 @@ sources:
path: .gem_rbs_collection
gems:
- - name: rbs
- ignore: true
- name: json Then we can reproduce the problem 🙌 I think this is ruby/rbs's problem. I'll try fixing it. Thanks for reporting it! |
@pocke Thanks for helping me, I now understand how lockfile works. |
I close this ticket as @pocke said this issue was fixed in the side of rbs gem. Thank you for your report! |
I noticed that I see a. weird error message when I execute
typeprof
command withrbs_collection
settings.Here's a reproduction repository:
https://github.com/okuramasafumi/typeprof-bug-repro
The text was updated successfully, but these errors were encountered: