Manually updating rubygems

Gems can be used to extend or modify functionality in Ruby applications.

Commonly they’re used to distribute reusable functionality that is shared with other Rubyists for use in their applications and libraries.

For those who are not familiar with SSL and certificates, there are many parts that make secure serving of content possible.

SSL certificates are used on the website, which are obtained from a certificate authority (CA) and generated from a private key, along with its respective signature.

As shown in the video below, just select a specific channel and pick the version you want to install.

Wait until the download has finished, Libre ELEC will reboot and upgrade automatically after that and finalize the upgrade/downgrade.

Vagrant assumes that this means the command failed. ERROR: cannot verify api.rubygems.org's certificate, issued by '/C=BE/O=Global Sign nv-sa/CN=Global Sign Organization Validation CA - SHA256 - G2': Issued certificate has expired.

wwmdev: SSH address: 127.0.0.22 wwmdev: SSH username: vagrant wwmdev: SSH auth method: private key wwmdev: Warning: Remote connection disconnect. == wwmdev: Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://api.rubygems.org/latest_specs.4.8.gz) The SSH command responded with a non-zero exit status.

Please read the output to determine what went wrong. To connect to insecurely, use `--no-check-certificate'. @segiddins updated ruby gems using rvm rubygem update functionality (https://rvm.io/rubies/rubygems) and also manually from source. I use RVM to manage my rubies so it may be possible something is not being updated as it should. Turns out the culprit was the pre-built binaries RVM uses. Final process is: update openssl uninstall your rubies and re-install rubies FROM SOURCE. 15 minutes later, the issue resurfaces, and I can no longer install any gems. Please this is not a snippet to just use, it's a snippet you have to apply but by using the correct paths, just make sure lib points to the openssl lib so it takes precedence over the system one.

Finally I decided to update from the rubygems source which did resolve the problem.

If, for any reason, the built-in auto-update doesn't work, there are several others ways for updating Libre ELEC manually.

Some gems provide command line utilities to help automate tasks and speed up your work.

l$ gem update --system Updating rubygems-update Fetching: rubygems-update-1.8.21(100%) WARNING: You don't have $HOME/.gem/ruby/1.9.1/bin in your PATH, gem executables will not run.