diff --git a/Ubuntu-bundler-broken-due-to-ruby-thor-dependency---explanation-and-workaround.md b/Ubuntu-bundler-broken-due-to-ruby-thor-dependency---explanation-and-workaround.md new file mode 100644 index 0000000..659d67e --- /dev/null +++ b/Ubuntu-bundler-broken-due-to-ruby-thor-dependency---explanation-and-workaround.md @@ -0,0 +1,58 @@ +
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
+
------------
\ No newline at end of file