Mac

IntelliJ IDEA on Mac OS

When using IntelliJ IDEA with Spring Boot on a Mac make sure you have the entry 127.0.0.1 <hostname>.local in your /etc/hosts file. Replace <hostname> with your Mac’s name. Also make sure that the result of the command ‘hostname’ is in your /etc/hosts file as well pointing to your local address.

Update gem behind proxy

I tried to update gem behind a proxy and got the following error message: sudo gem update –system ERROR: While executing gem … (Gem::RemoteFetcher::FetchError) Errno::ETIMEDOUT: Connection timed out – connect(2) for “api.rubygems.org” port 443 (https://api.rubygems.org/specs.4.8.gz) Though the http_proxy and https_proxy (also in upper case) was set it didn’t work.  Trying to set the proxy directly …

Update gem behind proxy Read More »