Comments (6)
I've already got
library "activesupport"
- is there something else to add there?
Yes, library "activesupport"
is not enough to use activesupport
gem's RBS unfortunately.
If you want to use activesupport
gem, you need to write lirbary "activesupport"
and library
for activesupport's dependencies, such as library "monitor"
library "logger"
, etc
from gem_rbs_collection.
I downgraded my ActiveSupport to see if it made a difference at 6.0.3.2
but no luck, same errors
from gem_rbs_collection.
Thanks for reporting issue!
Currently you need to specify dependency of activesupport
gem explicitly in Steepfile
.
You can find the dependency list from here: https://github.com/pocke/rbs_rails#steep-integration The documentation is for full of Rails gems, so maybe you don't need some gems in the list if you only need activesupport
gem.
By the way, I know the current behavior is not smart. RBS should be useful even if the user doesn't know all dependencies.
I'm working on rbs collection
command to solve this problem on ruby/rbs#589. This command solves this problem (maybe partially). We are also considering to introduce a file to write RBS's dependencies for rbs repository, such as manifest.yaml
.
from gem_rbs_collection.
I've already got library "activesupport"
- is there something else to add there?
from gem_rbs_collection.
Ah, that makes sense! It doesn't chain dependencies automatically. I might think about how to best document this and put in a PR for that documentation change.
from gem_rbs_collection.
I've implemented rbs collection
and manifest.yaml
feature to fix this problem.
Now we can use rbs collection
instead of resolving dependencies by hand.
For more information, see the document. https://github.com/ruby/rbs/blob/master/docs/collection.md
from gem_rbs_collection.
Related Issues (20)
- Could not find super class: ::Rails::Generators::Base (RBS::NoSuperclassFoundError) HOT 3
- Invalid definition for ActiveStorage 6.1 HOT 3
- Problem with `ActiveRecord::Type::Value` HOT 3
- Improve README as beginners' guide HOT 1
- Non-overloading method of `#to_time` in `Time::` on ActiveSupport HOT 1
- cannot install ActiveRecord 6.1 rbs on windows because of symlinks HOT 5
- Cannot find type `ActiveModel::Errors` HOT 2
- Process for generating types for new aws-sdk gems HOT 3
- Update RBS for Rack HOT 2
- Auto check manifest.yaml HOT 2
- Adding types for webrick, nats, grpc HOT 1
- aws-sdk signature issues HOT 1
- Definition of 'parsed_response' method in httparty.rbs is wrong.
- `ActionView::Helpers::RenderingHelper#render` has incorrect block signature
- When set Retryable's option, UnexpectedError occurred. HOT 2
- Missing ActiveSupport::Duration HOT 2
- Can't calculate Time with Numeric from ActiveSupport HOT 1
- `::Integer.to_s` method doesn't accept Symbol HOT 3
- Unknown method alias name: xmlschema => rfc3339 HOT 1
- Redis is missing `zadd` and possibly more HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gem_rbs_collection.