Hi - THANK YOU for this amazing gem. I hope you are okay, if you are in Ukraine. Don't worry about this issue too much.
We are updating a legacy Rails app to Rails 6, and we are thinking to remove ActionCable and ActiveStorage from the rails app.
It's still a Rails app, of course, but this means removing the gem rails from our Gemfile, and replacing it with the list of Rails gem dependencies, without Rails.
However — it can only build correctly if no other gem depends on Rails.
We use many gems, but the only gem we use that depends explicitly on gem rails is rails_db. So i'm wondering if maybe it would be possible to narrow down your gemspec to only depend on activemodel and activerecord for example (I don't actually know which parts of Rails the gem uses, other than these).
This is how we're changing our Gemfile:
# gem("rails", "~> 6.1")
# Or bundle the constituent gems. Just be sure no gems depend on Rails
# gem("actioncable", "~> 6.1")
gem("actioncontroller", "~> 6.1")
# gem("actionmailbox", "~> 6.1")
gem("actionmailer", "~> 6.1")
gem("actionpack", "~> 6.1")
gem("actiontext", "~> 6.1")
gem("actionview", "~> 6.1")
gem("activejob", "~> 6.1")
gem("activemodel", "~> 6.1")
gem("activerecord", "~> 6.1")
# gem("activestorage", "~> 6.1")
gem("activesupport", "~> 6.1")
gem("bundler")
gem("railties", "~> 6.1")
gem("sprockets-rails")
Hi - THANK YOU for this amazing gem. I hope you are okay, if you are in Ukraine. Don't worry about this issue too much.
We are updating a legacy Rails app to Rails 6, and we are thinking to remove ActionCable and ActiveStorage from the rails app.
It's still a Rails app, of course, but this means removing the gem
railsfrom our Gemfile, and replacing it with the list of Rails gem dependencies, without Rails.However — it can only build correctly if no other gem depends on Rails.
We use many gems, but the only gem we use that depends explicitly on gem
railsisrails_db. So i'm wondering if maybe it would be possible to narrow down your gemspec to only depend onactivemodelandactiverecordfor example (I don't actually know which parts of Rails the gem uses, other than these).This is how we're changing our Gemfile: