Skip to content

Installs 'ruby-keychain' dependency with 'gem install keyring' on Linux #9

Description

@zinga666

Hi,

if I am not mistaken the ruby-keychain dependency is not supposed to be installed (because not necessary/sensible) on Linux, is it?

When I install keyring (version 0.4.1) on my Linux (elementary OS Juno - based on ubuntu 18.04) with gem install (within rvm) it installs the ruby-keychain dependency.

$ gem install -V keyring
[...]
Successfully installed ruby-keychain-0.3.2
[...]
Building native extensions. This could take a while...
[...]
*linux: installing gir_ffi-gnome_keyring...
[...]
Successfully installed keyring-0.4.1
$ gem list -l key

*** LOCAL GEMS ***

gir_ffi-gnome_keyring (0.0.10)
keyring (0.4.1)
ruby-keychain (0.3.2)

The gem dependency command also lists it:

$ gem dependency keyring
Gem keyring-0.4.1
  bundler (~> 1.3, development)
  mocha (>= 0, development)
  rake (>= 0, development)
  ruby-keychain (~> 0.3.2)
  slop (< 4.0)

As well as the website on rubygems.org: https://rubygems.org/gems/keyring/versions/0.4.1

$ ruby -e 'puts Gem::Platform.local.os'
linux

It's not a big deal because (at least after installing the libgnome-keyring-dev libgirepository1.0-dev packages) the Gem works fine (with the Gnome keyring) but the commit(s) in 0.4.1 sound like the dependencies should be handled for the different platforms separately.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions