How to install ruby curb

How can I install ruby curb? What needs to be done before I can start
using curl commands inside the ruby script. Thanks

gem install curb

And add

require ‘curb’
to your script.

See also Ruby + Curl - what do I need to install to write a ruby script that uses curl in it - Ruby - Ruby-Forum

This command i run in the irb(main):
Or
Ruby/bin>

Also, would I need to download the curb library first?