Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

CLI does not run anymore - xdg 'require_relative': cannot load such file error #243

Closed
sgnn7 opened this issue May 21, 2019 · 1 comment
Closed

Comments

@sgnn7
Copy link
Contributor

sgnn7 commented May 21, 2019

Error when gem is installed:

Traceback (most recent call last):
        10: from /usr/local/bundle/bin/conjur:23:in `<main>'
         9: from /usr/local/bundle/bin/conjur:23:in `load'
         8: from /usr/local/bundle/gems/conjur-cli-6.0.0/bin/conjur:24:in `<top (required)>'
         7: from /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
         6: from /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
         5: from /usr/local/bundle/gems/conjur-cli-6.0.0/lib/conjur/cli.rb:25:in `<top (required)>'
         4: from /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
         3: from /usr/local/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
         2: from /usr/local/bundle/gems/xdg-2.2.4/lib/xdg.rb:26:in `<top (required)>'
         1: from /usr/local/bundle/gems/xdg-2.2.4/lib/xdg.rb:28:in `<module:XDG>'
/usr/local/bundle/gems/xdg-2.2.4/lib/xdg.rb:28:in `require_relative': cannot load such file -- /usr/local/bundle/gems/xdg-2.2.4/lib/xdg/index (LoadError)

Looks to be caused by xdg 2.2.4 gem. Pin to 2.2.3 makes the CLI work again.

@sgnn7 sgnn7 self-assigned this May 21, 2019
sgnn7 added a commit that referenced this issue May 21, 2019
xdg bumped their gem version and broke the CLI in the process. This
change pins us to the last known working version (2.2.3) until we find a
better path forward and bumps the version to v6.2.1

Bug: #243
sgnn7 added a commit that referenced this issue May 22, 2019
xdg bumped their gem version and broke the CLI in the process. This
change pins us to the last known working version (2.2.3) until we find a
better path forward and bumps the version to v6.2.1

Bug: #243
@sgnn7
Copy link
Contributor Author

sgnn7 commented May 22, 2019

Fix released with v6.2.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants