Cannot install rbenv via homebrew (SSL Handshake) - ssl

Just re-installed Yosemite and I cannot install rbenv via homebrew
~ brew install rbenv ruby-build
==> Downloading https://github.com/sstephenson/rbenv/archive/v0.4.0.tar.gz
######################################################################## 100.0%
curl: (35) Server aborted the SSL handshake
Error: Failed to download resource "rbenv"
Download failed: https://github.com/sstephenson/rbenv/archive/v0.4.0.tar.gz
Thoughts?

Related

SSL module in Python3.10.2 is not available, getting error in pip install on redhat 7

sudo make:
Following modules built successfully but were removed because they could not be imported:
_hashlib _ssl
Could not build the ssl module!
Python requires a OpenSSL 1.1.1 or newer
pip install:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url
(Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

brew install not working - The requested URL returned error: 404

When I tried brew install --cask another-redis-desktop-manager, it shows below error
==> Downloading https://github.com/qishibo/AnotherRedisDesktopManager/releases/d
##O#- #
curl: (22) The requested URL returned error: 404
Error: Download failed on Cask 'another-redis-desktop-manager' with message: Download failed: https://github.com/qishibo/AnotherRedisDesktopManager/releases/download/v1.5.2/Another-Redis-Desktop-Manager-M1-arm64-1.5.2.dmg
I tried brew update-reset and brew update but still got the same error
From https://github.com/qishibo/AnotherRedisDesktopManager/releases/tag/v1.5.2
M1 dmg version is being repaired...
Meanwhile, you can get version 1.5.1 here.

How to install Juniper.junos ansible-galaxy in mac?

I tried to install the latest version of Juniper.junos on my Mac :
sudo ansible-galaxy install Juniper.junos
-downloading role 'junos', owned by Juniper
-downloading role from https://github.com/Juniper/ansible-junos-stdlib/archive/2.0.2.tar.gz
[ERROR]: failed to download the file: Failed to validate the SSL certificate for github.com:443. Make sure your managedsystems have a valid CA certificate installed. You can use validate_certs=False if you do not need to confirm the servers identity but this is unsafe and not recommended. Paths checked for this platform: /etc/ssl/certs, /etc/ansible, /usr/local/etc/openssl. The exception msg was: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590).
[WARNING]: - Juniper.junos was NOT installed successfully.
ERROR! - you can use --ignore-errors to skip failed roles and finish processing the list.
ansible-galaxy --version
ansible-galaxy 2.5.0
I already tried with different ansible versions, but the error is still the same.
We are facing this issue sometimes, it’s connectivity issue to install module via ansible-galaxy, not related to Juniper ansible module.
Kindly use below command for installation, it will work well.
sudo ansible-galaxy install git+https://github.com/Juniper/ansible junos-stdlib.git,,Juniper.junos
[abc#hostname /homes/abc] sudo ansible-galaxy install git+https://github.com/Juniper/ansible-junos-stdlib.git,,Juniper.junos
- extracting Juniper.junos to /homes/babud/.ansible/roles/Juniper.junos
- Juniper.junos was installed successfully

Brew Error: File exists

I'm on Yosemite and I have Brew installed. I am trying to install redis and I get the following error. How can I fix it?
$ brew install redis
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/redis-2.8.19.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/redis-2.8.19.yosemite.bottle.tar.gz
==> Pouring redis-2.8.19.yosemite.bottle.tar.gz
Error: File exists - /usr/local/etc
Warning: Bottle installation failed: building from source.
==> Downloading http://download.redis.io/releases/redis-2.8.19.tar.gz
Already downloaded: /Library/Caches/Homebrew/redis-2.8.19.tar.gz
==> make -C /private/tmp/redis-XuZC7r/redis-2.8.19/src CC=clang
Error: File exists - /usr/local/etc

Homebrew says Download failed when trying to install libksba

In rvm requirements, I have libksba. So I try to install it with homebrew:
➜ ~ brew install libksba
==> Downloading ftp://ftp.gnupg.org/gcrypt/libksba/libksba-1.3.0.tar.bz2
curl: (56) Recv failure: Operation timed out
Error: Download failed: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-1.3.0.tar.bz2
Is there a way to fix this (by specifying additional repositories) ? Or should I install the lib manually ?
You can
rvm autolibs enable and then
rvm do what you want (in my case: rvm install 1.9.3)