Code Monkey home page Code Monkey logo

Comments (6)

pocke avatar pocke commented on May 30, 2024 1

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.

tibbon avatar tibbon commented on May 30, 2024

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.

pocke avatar pocke commented on May 30, 2024

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.

tibbon avatar tibbon commented on May 30, 2024

I've already got library "activesupport"- is there something else to add there?

from gem_rbs_collection.

tibbon avatar tibbon commented on May 30, 2024

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.

pocke avatar pocke commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.