From 669668396f4a5cefb6fcd2fc7cb5b3938f45f5e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EF=BB=BFghost-from-the-past?= Date: Wed, 14 Apr 2021 14:15:18 +0200 Subject: [PATCH] Updated Install Tracks on Ubuntu 20.10 (markdown) --- Install-Tracks-on-Ubuntu-20.10.md | 68 ++++--------------------------- 1 file changed, 9 insertions(+), 59 deletions(-) diff --git a/Install-Tracks-on-Ubuntu-20.10.md b/Install-Tracks-on-Ubuntu-20.10.md index 8229771..714dc1e 100644 --- a/Install-Tracks-on-Ubuntu-20.10.md +++ b/Install-Tracks-on-Ubuntu-20.10.md @@ -117,65 +117,15 @@

>apt install libmariadbd-dev # for de server, the last letter d means demon

>apt install libmariadb-dev # for the client

-

------------

-

As explained here

-

- https://bugs.launchpad.net/ubuntu/+source/ruby-thor/+bug/1885424 -

-

-
-

-

the following change on the files has broken their magic...

-

-----------------------------------------------------------------------------

-

/usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/vendored_molinillo.rb

-

-
-

-

--- a/lib/bundler/vendored_molinillo.rb

-

+++ b/lib/bundler/vendored_molinillo.rb

-

@@ -1,4 +1,4 @@

-

# frozen_string_literal: true

-

-
-

-

module Bundler; end

-

-require_relative "vendor/molinillo/lib/molinillo"

-

+require "molinillo"

-

-
-

-

-----------------------------------------------------------------------------

-

/usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/vendored_thor.rb

-

-
-

-

-
-

-

--- a/lib/bundler/vendored_thor.rb

-

+++ b/lib/bundler/vendored_thor.rb

-

@@ -2,7 +2,7 @@

-

-
-

-

module Bundler

-

def self.require_thor_actions

-

- require_relative "vendor/thor/lib/thor/actions"

-

+ require "thor/actions"

-

end

-

end

-

-require_relative "vendor/thor/lib/thor"

-

+require "thor"

-

-----------------------------------------------------------------------------

-

you can revert the changes or the files from the master branch of github https://github.com/rubygems/rubygems -

-

- also you need to copy from the master branch the directories

-

vendor/thor and vendor/molinillo

-

- into the directory /usr/share/rubygems-integration/all/gems/bundler-2.1.4/lib/bundler/vendor
-

-

------------

+

+
+

+

Fix bundler

+

Unfortunately bundler is broken in the actual Ubuntu/Debian distribution. Follow the instructions at +[[Ubuntu bundler broken due to ruby thor dependency - explanation and workaround]] to fix it.

+

+
+

Install Tracks

you can download a selected releases from https://github.com/TracksApp/tracks/releases/tag/v2.5.1