Git Product home page Git Product logo

Comments (5)

esparta avatar esparta commented on July 30, 2024 1

Is understandable the confusion, on ruby there's 3 different Standard Libraries:

  • Standard Libraries (upstreamed on the ruby core repo - as you can have Integer or String)
  • Default gems - upstreamed on their own repo
  • Bundled gems - has their own release cycle and are independent from ruby itself, but are needed by ruby.

WEBrick is a default gem, they are still part of the Standard Library, has own release cycle independent of the ruby version released by the ruby team. Being a gem by itself means you are able to use an updated version of those libraries or even an previous versions, it depends on your needs and a point on security context.

This talk by Shibata Hiroshi has more information about it:

https://www.youtube.com/watch?v=93nGROEgyEc

More info:

https://rubyreferences.github.io/rubyref/stdlib.html
https://stdgems.org/

Hope this helps.

from webrick.

DamieFC avatar DamieFC commented on July 30, 2024

Interesting point! My best guess would be if you just want that gem, without anything else. But really, I don't know, that's just a guess. I didn't think about it. I hope this helps!

from webrick.

ugultopu avatar ugultopu commented on July 30, 2024

So if I understand correctly, you can change the version of a default gem on a Ruby version. Let's say Ruby version X comes with version Y of a default gem but you don't have to use that version. You can use a different version of that default gem still with the same version X of Ruby. That's when you might need gem install some-default-gem.

from webrick.

jeremyevans avatar jeremyevans commented on July 30, 2024

WEBrick is no longer in the standard library starting with Ruby 3.0, unless that change is reverted before the 3.0 release. So we should definitely keep the installation section in the README.

from webrick.

DamieFC avatar DamieFC commented on July 30, 2024

You do learn something new every day.

from webrick.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.