How to Install and Uninstall ruby-retryable Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: December 23,2024

1. Install "ruby-retryable" package

This guide covers the steps necessary to install ruby-retryable on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install ruby-retryable

2. Uninstall "ruby-retryable" package

This is a short guide on how to uninstall ruby-retryable on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove ruby-retryable $ sudo apt autoclean && sudo apt autoremove

3. Information about the ruby-retryable package on Ubuntu 20.10 (Groovy Gorilla)

Package: ruby-retryable
Architecture: all
Version: 2.0.4-1
Priority: optional
Section: universe/ruby
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Ruby Extras Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28
Depends: ruby | ruby-interpreter
Filename: pool/universe/r/ruby-retryable/ruby-retryable_2.0.4-1_all.deb
Size: 7084
MD5sum: 10958a0a5ffdf7e8d6766bcd462427cf
SHA1: 445057b46469c713d1a63391b6dfac28b2818341
SHA256: 019b0ebfe4e08b465cccd7189e8df35988c531f2e82be8f345b0f94f4435305c
SHA512: b21ff35be30d1d06cdde37f11b60cbfa36b99fd9cba199a13dd3e081b78f78686153454e271e29d2542b15cdf363e3dd441be2bd823be50fcede607c1cb59e52
Homepage: http://github.com/nfedyashev/retryable
Description-en: module that allows one to retry a code block
Runs a code block, and retries it when an exception occurs. It's great when
working with flakey webservices (for example).
.
It's configured using four optional parameters :tries, :on, :sleep, :matching,
:ensure, :exception_cb and runs the passed block. Should an exception occur,
it'll retry for (n-1) times.
.
Should the number of retries be reached without success, the last exception
will be raised.
Description-md5: 2cf0341695da17033bef8a326416db23
Ruby-Versions: all