oneclick / rubyinstaller2

MSYS2 based RubyInstaller for Windows
https://rubyinstaller.org
BSD 3-Clause "New" or "Revised" License
645 stars 248 forks source link

Could not find valid gem "jekyll" #289

Closed adridos closed 1 year ago

adridos commented 2 years ago

What problems are you experiencing?

Following the steps on Jekyllrb to install jekyll on my windows laptop. When typing gem install jekyll bundler, output reads "Unable to download data from https://rubygems.org/ - SocketError: Failed to open TCP connection to rubygems.org:443 (getaddrinfo: No such host is known. ) (https://rubygems.org/specs.4.8.gz) ERROR: Could not find a valid gem 'bundler' (>= 0), here is why: Unable to download data from https://rubygems.org/ - SocketError: Failed to open TCP connection to rubygems.org:443 (getaddrinfo: No such host is known. ) (https://rubygems.org/specs.4.8.gz)"

Steps to reproduce

in terminal, type: gem install jekyll bundler you can then type jekyll -v to see nothing was installed

What's the output from ridk version?

bash.exe: warning: could not find /tmp, please create!

ruby: path: C:/Ruby31-x64 version: 3.1.2 platform: x64-mingw-ucrt ruby_installer: package_version: 3.1.2-1 git_commit: 17502f9 msys2: path: C:\Ruby31-x64\msys64 cc: gcc (Rev10, Built by MSYS2 project) 11.2.0 sh: GNU bash, version 5.1.16(1)-release (x86_64-pc-msys) os: Microsoft Windows [Version 10.0.19044.1706]

MSP-Greg commented 2 years ago

@adridos Maybe an issue with Windows Firewall? Is Ruby listed as an 'allowed app'?

adridos commented 2 years ago

I am doing this on a work laptop. When I check the firewalls allowed apps, I do not see Ruby listed at all (checked nor unchecked). I suppose I will have to get permission granted from my companies IT.

mohits commented 2 years ago

@adridos - It could also be an issue if you are required to use a proxy to access HTTP endpoints. If that's the case, the answer at: https://stackoverflow.com/a/29784068 might help a bit.

adridos commented 2 years ago

Would working remotely using a VPN be an issue when it comes to the proxy accessing HTTP endpoints?

larskanis commented 2 years ago

Would working remotely using a VPN be an issue when it comes to the proxy accessing HTTP endpoints?

If the VPN is down, the proxy will probably be unreachable. But those are kind of questions you have to ask your system administrators.

mohits commented 1 year ago

Hi @adridos - may I close this issue?

adridos commented 1 year ago

yes thank you!


From: Mohit Sindhwani @.> Sent: Wednesday, August 31, 2022 7:20 AM To: oneclick/rubyinstaller2 @.> Cc: Adri Massey @.>; Mention @.> Subject: Re: [oneclick/rubyinstaller2] Could not find valid gem "jekyll" (Issue #289)

Hi @adridoshttps://github.com/adridos - may I close this issue?

— Reply to this email directly, view it on GitHubhttps://github.com/oneclick/rubyinstaller2/issues/289#issuecomment-1232805948, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AP437CV5JGWDDWO32ABGTPDV345YJANCNFSM5Z7L2O5A. You are receiving this because you were mentioned.Message ID: @.***>