-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Latest doesn't work with steep #45
Comments
Thanks for reporting this issue. Could you try $ rbs -Isig -rpathname -rlogger -rmutex_m validate The |
After much fixing, I think I'm getting close.
|
I manually added https://github.com/pocke/rbs_rails/blob/master/sig/fileutils.rbs to my sig folder and now it validates. |
#47 So I think we can close this issue, is it right? |
I'm not sure it is Steep's bug or not. But the |
We can close this issue yes, looks like this fixed everything. |
I'm trying to use rbs_rails and steep together in a medium rails app and I'm experiencing some issues.
steep check
will exit with a code of 1 without printing anything when using rbs_rails.I've trimmed down the issue to:
That last item is weird, I don't quite know what's happening. I noticed there was no output with the generated activerecord.rbs file present. I then commented out definitions until I found what was wrong. If I comment out ActiveRecord::TestFixtures, things start working again.
However, steep complains with:
This is expected. If I completely remove the
class Object
from railties.rb, I start getting no output again.So I don't know what's wrong with this. Is it a rbs_rails issue or a steep issue? Maybe you have some insight.
The text was updated successfully, but these errors were encountered: