Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fedora can't find and use picky gem native library  #148

@jsosic

Description

@jsosic

I'm using vanilla Fedora 26. This is the ruby install:

% docker run --rm -it fedora:26 /bin/bash
[root@9585814b837d /]# yum -y install ruby-devel rubygems gcc make > /dev/null
[root@9585814b837d /]# yum -y install redhat-rpm-config findutils > /dev/null
[root@9585814b837d /]# gem install picky
Fetching: 
....
....
Installing ri documentation for picky-4.31.3
Done installing documentation for concurrent-ruby, i18n, thread_safe,
tzinfo, minitest, activesupport, multi_json, url_escape, rack_fast_escape,
picky after 15 seconds
10 gems installed

Picky installs succesfully but I can't use it:

[root@9585814b837d /]# ruby -rpicky -e 'puts "works"'

Picky tried to compile its source on your system but failed.

If you are trying to develop for it, please run the specs first:
bundle exec rake
(You might need to set ulimit -n 3000 for the tests to run)

Please add an issue: https://github.com/floere/picky/issues/
and copy anything into it that you think is helpful. Thanks!

See related issue: https://github.com/floere/picky/issues/81

The problem reported by the compiler was:
cannot load such file -- /usr/local/share/gems/gems/picky-4.31.3/lib/picky/picky

If I try to find a native extension, it's here:

[root@9585814b837d /]# find /usr/local/ -name picky.so
/usr/local/lib64/gems/ruby/picky-4.31.3/picky/picky.so
/usr/local/share/gems/gems/picky-4.31.3/ext/picky/picky.so

I've got same problem on Fedora 27.

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