Feature #16170

Remove the unmaintained libraries from Ruby 2.7

Added by hsbt (Hiroshi SHIBATA) about 1 year ago. Updated 11 months ago.

Target version:


I'm working to extract standard libraries to rubygems in recent years. So, the standard libraries will be promoted the default gems or bundled gems.

But I suggest removing some of the unmaintained libraries without default/bundled gems.

These are here:

  • cmath
  • mutex_m
  • scanf
  • shell
  • sync
  • thwait
  • tracer

We should reduce the maintenance cost for them.

Related issues

Related to Ruby master - Feature #5481: Gemifying Ruby standard libraryAssignedhsbt (Hiroshi SHIBATA)Actions

Updated by hsbt (Hiroshi SHIBATA) about 1 year ago

  • Related to Feature #5481: Gemifying Ruby standard library added

Updated by shevegen (Robert A. Heiler) about 1 year ago

Agreed. Might also be simpler to get full support in gem-spec format
for those libraries that are maintained. :)

Some of them I have not even read before at all, such as mutex_m.


Updated by hsbt (Hiroshi SHIBATA) about 1 year ago

  • Description updated (diff)

Updated by hsbt (Hiroshi SHIBATA) about 1 year ago

Can we also remove them?

  • debug
  • getoptlong

Updated by ko1 (Koichi Sasada) about 1 year ago

I'll maintain debug. Can we remain it as bundled gem?

Updated by hsbt (Hiroshi SHIBATA) about 1 year ago

Can we remain it as bundled gem?

sounds good.

We are going to remove them at Ruby 2.7.0-preview2

  • cmath
  • scanf
  • shell
  • sync
  • thwait

We need to investigate the following stdlibs with irb. After resolve dependencies, We will remove them.

  • tracer
  • e2mmap

debug will be promoted the bundled gems, mutex_m and getoptlong remains in stdlibs at Ruby 2.7.

Updated by mame (Yusuke Endoh) about 1 year ago

FYI: How many times the gems is required from all latest public gems by using gem-codesearch.

$ csearch "require .mutex_m.$" | wc -l
$ csearch "require .scanf.$" | wc -l
$ csearch "require .thwait.$" | wc -l
$ csearch "require .sync.$" | wc -l
$ csearch "require .tracer.$" | wc -l
$ csearch "require .shell.$" | wc -l
$ csearch "require .cmath.$" | wc -l

Updated by vo.x (Vit Ondruch) about 1 year ago

Just FTR, I am using tracer from time to time, typically just from command line as -rtracer. I'll be sad to see it go away ...

Updated by hsbt (Hiroshi SHIBATA) 11 months ago

  • Status changed from Assigned to Closed
  • Tags set to lib

I removed them at Ruby 2.7.

Also available in: Atom PDF