You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the sentry-rails gem should warn and fail gracefully when the parts of Rails it needs are missing, but not actually require Rails itself.
I disagree with this. since the gem is called sentry-rails, it makes sense to specify rails as a dependency. manually checking each component's presence would increase the maintenance effort significantly. I understand the use case of minimal Rails apps, but we don't have the resource to break the support down to individual components' level.
Describe the bug
The
sentry-rails
gem depends on Rails and so brings in all of the Rails gems, even if the host project'sGemfile
only requires a minimal set of gemsTo Reproduce
Run
bundle install
using aGemfile
like so:Expected behavior
Only
activerecord
,actionmailer
, andactionpack
are installed from RailsActual behavior
All Rails gems are brought in
Environment
I think the
sentry-rails
gem should warn and fail gracefully when the parts of Rails it needs are missing, but not actually require Rails itself.The text was updated successfully, but these errors were encountered: