monero-project / monero-site

https://getmonero.org
BSD 3-Clause "New" or "Revised" License
275 stars 384 forks source link

gems: update dependencies #2116

Closed erciccione closed 1 year ago

erciccione commented 1 year ago

Note that jekyll-multiple-languages-plugin, which is a fundamental dependency in our getmonero's setup, is in maintainance mode and hasn't seen any update in almost a year. With this PR i'm already forcing an earlier version of the plugin (1.7.0) because otherwise things break.

The situation has only become worse from one year ago and i'm starting to see moving to another generator as inevitable.

This update will make the minimum version of ruby needed to 2.7

netlify[bot] commented 1 year ago

Deploy Preview for barolo-time-757cf9 ready!

Name Link
Latest commit c0ad3ace97b688c08c50fe21fb03f0a13ebb9e2e
Latest deploy log https://app.netlify.com/sites/barolo-time-757cf9/deploys/63a33435cef4f500083c64b3
Deploy Preview https://deploy-preview-2116--barolo-time-757cf9.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

plowsof commented 1 year ago

Thank you!, Everything updates smoothly and the site deploys fine. I'll have to learn what these things are in the gemfile before i can approve (i have no idea, will do some searching).

confirmed latest versions for : https://github.com/kurtsson/jekyll-multiple-languages-plugin/releases/tag/v1.7.0 https://github.com/sporkmonger/addressable/tags https://rubygems.org/gems/public_suffix/versions/5.0.1 https://github.com/ruby-concurrency/concurrent-ruby/releases/tag/v1.1.10 https://github.com/igrigorik/em-websocket/releases/tag/v0.5.3 https://github.com/ffi/ffi/releases/tag/v1.15.5 https://rubygems.org/gems/google-protobuf 3.21.12 https://rubygems.org/gems/http_parser.rb/versions/0.8.0 https://rubygems.org/gems/i18n 1.12.0 https://rubygems.org/gems/jekyll/versions/4.3.1 https://rubygems.org/gems/jekyll-sass-converter/versions/3.0.0 https://rubygems.org/gems/kramdown/versions/2.4.0 https://rubygems.org/gems/mercenary/versions/0.4.0 https://rubygems.org/gems/rouge/versions/4.0.1 https://rubygems.org/gems/terminal-table/versions/3.0.2 https://rubygems.org/gems/webrick/versions/1.7.0 https://rubygems.org/gems/jekyll-feed/versions/0.17.0 https://rubygems.org/gems/jekyll-sass-converter/versions/3.0.0 https://rubygems.org/gems/sass-embedded/versions/1.57.1-x86_64-darwin https://rubygems.org/gems/listen/versions/3.7.1 https://rubygems.org/gems/public_suffix/versions/5.0.1 https://rubygems.org/gems/rake/versions/13.0.6 https://rubygems.org/gems/rb-fsevent/versions/0.11.2 https://rubygems.org/gems/unicode-display_width/versions/2.3.0

install output below:

$ bundle exec jekyll serve --limit_posts 1
Could not find jekyll-4.3.1 in any of the sources
Run `bundle install` to install missing gems.
$ bundle install
Fetching gem metadata from https://rubygems.org/
Fetching gem metadata from https://rubygems.org/...........
Using rake 13.0.6
Following files may not be writable, so sudo is needed:
  /usr/local/bin
  /var/lib/gems/3.0.0
  /var/lib/gems/3.0.0/build_info
  /var/lib/gems/3.0.0/cache
  /var/lib/gems/3.0.0/doc
  /var/lib/gems/3.0.0/extensions
  /var/lib/gems/3.0.0/gems
  /var/lib/gems/3.0.0/plugins
  /var/lib/gems/3.0.0/specifications
Using builder 3.2.4
Using bundler 2.2.23
Using colorator 1.1.0
Using concurrent-ruby 1.1.10
Using eventmachine 1.2.7
Using http_parser.rb 0.8.0
Using ffi 1.15.5
Using forwardable-extended 2.6.0
Using rexml 3.2.5
Using liquid 4.0.3
Using mercenary 0.4.0
Using safe_yaml 1.0.5
Using webrick 1.7.0
Using jekyll-paginate 1.1.0
Using em-websocket 0.5.3
Using i18n 1.12.0
Using rb-inotify 0.10.1
Using kramdown 2.4.0
Using pathutil 0.16.2
Using kramdown-parser-gfm 1.1.0
Fetching public_suffix 5.0.1
Fetching unicode-display_width 2.3.0
Fetching rouge 4.0.1
Fetching google-protobuf 3.21.12 (x86_64-linux)
Fetching rb-fsevent 0.11.2

Your user account isn't allowed to install to the system RubyGems.
  You can cancel this installation and run:

      bundle config set --local path 'vendor/bundle'
      bundle install

  to install the gems into ./vendor/bundle/, or you can enter your password
  and install the bundled gems to RubyGems using sudo.

  Password: 

Your user account isn't allowed to install to the system RubyGems.
  You can cancel this installation and run:

      bundle config set --local path 'vendor/bundle'
      bundle install

  to install the gems into ./vendor/bundle/, or you can enter your password
  and install the bundled gems to RubyGems using sudo.

  Password: 
Installing unicode-display_width 2.3.0
Installing rb-fsevent 0.11.2
Installing public_suffix 5.0.1
Fetching terminal-table 3.0.2
Installing rouge 4.0.1
Installing google-protobuf 3.21.12 (x86_64-linux)
Using listen 3.7.1
Using jekyll-watch 2.2.1
Fetching addressable 2.8.1
Installing terminal-table 3.0.2
Installing addressable 2.8.1
Fetching sass-embedded 1.57.1
Installing sass-embedded 1.57.1 with native extensions
Fetching jekyll-sass-converter 3.0.0
Installing jekyll-sass-converter 3.0.0
Fetching jekyll 4.3.1
Installing jekyll 4.3.1
Using jekyll-multiple-languages-plugin 1.7.0
Fetching jekyll-feed 0.17.0
Installing jekyll-feed 0.17.0
Bundle complete! 5 Gemfile dependencies, 35 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.