Toxic Elephant

Don't bury it in your back yard!

How I want to handle the removal of gems from Ruby's standard library

Posted by matijs 26/09/2024 at 16h54

I think a good process is something like this:

  1. Add the standard library gems to the dependencies so the warnings go away. For gem projects I think it’s fine to put them in the development dependencies because the published gems don’t need these dependencies right now
  2. Figure out which gems load the standard library gems
  3. File bug reports for those gems to make them add the standard library gems as dependencies
  4. Wait for those gems to be updated and then update the dependencies on those gems in my project
  5. Remove the standard library gems from the dependencies again

To be honest, I think I have only ever gotten as far as point 2.

Tags , , no comments no trackbacks

Comments

(leave url/email »)

Preview comment