Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4439

Jekyll on Ubuntu 22.04

$
0
0

I am trying to install jekyll. But I am getting this error:

$ gem install jekyll bundlerERROR:  Could not find a valid gem 'jekyll' (>= 0), here is why:          Unable to download data from https://rubygems.org/ - Gem::Net::OpenTimeout: Failed to open TCP connection to rubygems.org:443 (execution expired) (https://rubygems.org/specs.4.8.gz)

How can I fix this issue? Why is it occurring?

Here are the installed prerequisites (https://jekyllrb.com/docs/installation/ubuntu/):

$ ruby -vruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu]$ gem -v3.5.14$ gem update --systemERROR:  Your RubyGems was installed trough APT, and upgrading it through RubyGemsitself is unsupported. If you really need the latest version of RubyGems (tip:you usually don't), then you need to install RubyGems (and Ruby) manually,maybe using tools like ruby-install, rvm, etc.$ gem envRubyGems Environment:  - RUBYGEMS VERSION: 3.5.14  - RUBY VERSION: 3.0.2 (2021-07-07 patchlevel 107) [x86_64-linux-gnu]  - INSTALLATION DIRECTORY: /var/lib/gems/3.0.0  - USER INSTALLATION DIRECTORY: /home/rafi/.local/share/gem/ruby/3.0.0  - RUBY EXECUTABLE: /usr/bin/ruby3.0  - GIT EXECUTABLE: /usr/bin/git  - EXECUTABLE DIRECTORY: /usr/local/bin  - SPEC CACHE DIRECTORY: /home/rafi/.cache/gem/specs  - SYSTEM CONFIGURATION DIRECTORY: /etc  - RUBYGEMS PLATFORMS:     - ruby     - x86_64-linux-gnu  - GEM PATHS:     - /var/lib/gems/3.0.0     - /home/rafi/.local/share/gem/ruby/3.0.0     - /usr/local/lib/ruby/gems/3.0.0     - /usr/lib/ruby/gems/3.0.0     - /usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0     - /usr/share/rubygems-integration/3.0.0     - /usr/share/rubygems-integration/all     - /usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0  - GEM CONFIGURATION:     - :update_sources => true     - :verbose => true     - :backtrace => true     - :bulk_threshold => 1000  - REMOTE SOURCES:     - https://rubygems.org/  - SHELL PATH:     - /home/rafi/.local/bin     - /home/rafi/bin     - /usr/local/sbin     - /usr/local/bin     - /usr/sbin     - /usr/bin     - /sbin     - /bin     - /usr/games     - /usr/local/games     - /snap/bin     - /snap/bin

Viewing all articles
Browse latest Browse all 4439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>