DEV Community

Discussion on: The future of rbs collection

Collapse
 
st0012 profile image
Stan Lo

How about using the github scope in Gemfile? I was just using something like this to test the Sentry SDK.

github "getsentry/sentry-ruby", branch: "support-exception-locals" do
  gem 'sentry-ruby', "~> 4.7.0"
  gem 'sentry-rails', "~> 4.7.0"
  gem 'sentry-sidekiq', "~> 4.7.0"
  gem 'sentry-resque', "~> 4.7.0"
end
Enter fullscreen mode Exit fullscreen mode

So I imagine this would work too

github "ruby/gem_rbs_collection" do
  gem "rbs-rails"
  gem "rbs-sidekiq"
  gem "rbs-parallel"
end
Enter fullscreen mode Exit fullscreen mode

It'll still use git clone AFAIK, but at least we can define type dependencies in Gemfile too.

Collapse
 
pocke profile image
Masataka Pocke Kuwabara

Ah, I didn't know the github scope😆 Thanks for sharing the idea!

I still think it should be migrated to scoped packages finally, but github scope will be a good candidate for the next step. I'll consider it too. Thanks!