• Ruby cannot load a gem

    From Grimble@21:1/5 to All on Thu Dec 5 16:29:47 2019
    Environment: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
    Just upgraded From Mageia 6 to Mageia 7 (in-situ, not fresh install)
    A Ruby program that worked under Mageia 6 now refuses with error message:

    `require': cannot load such file -- sequel (LoadError)

    I have researched this error (pretty frequent on Stackoverflow!) but
    can't see a solution that pertains.
    From 'gem environment'

    - GEM PATHS:
    - /home/graeme/.gem/ruby/2.5.0
    - /usr/share/gems
    - /usr/local/share/gems
    But it's there:

    [graeme@bach Scripts]$ cd /usr/local/share/gems/gems
    [graeme@bach gems]$ ls -l
    total 20
    drwxr-xr-x 5 root root 4096 Dec 1 18:14 bigdecimal-1.4.4/
    drwxr-xr-x 5 root root 4096 Dec 1 18:12 mini_portile2-2.4.0/
    drwxr-xr-x 6 root root 4096 Dec 1 18:14 nokogiri-1.10.5/
    drwxr-xr-x 5 root root 4096 Dec 3 15:39 pg-1.1.4/
    drwxr-xr-x 6 root root 4096 Dec 4 12:29 sequel-5.27.0/
    Using the full path doesn't help either:

    require '/usr/local/share/gems/gems/sequel'
    cannot load such file -- /usr/local/share/gems/gems/sequel (LoadError)
    Would appreciate some help please.
    --
    Grimble
    Registered Linux User #450547
    Machine 'Bach' running Plasma 5.15.4 on 5.3.13-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jasnow1@gmail.com@21:1/5 to Grimble on Fri Dec 6 05:50:35 2019
    What ruby gem manager do you use?

    What does "gem list sequel" return?

    On Thursday, December 5, 2019 at 11:29:54 AM UTC-5, Grimble wrote:
    Environment: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
    Just upgraded From Mageia 6 to Mageia 7 (in-situ, not fresh install)
    A Ruby program that worked under Mageia 6 now refuses with error message:

    `require': cannot load such file -- sequel (LoadError)

    I have researched this error (pretty frequent on Stackoverflow!) but
    can't see a solution that pertains.
    From 'gem environment'

    - GEM PATHS:
    - /home/graeme/.gem/ruby/2.5.0
    - /usr/share/gems
    - /usr/local/share/gems
    But it's there:

    [graeme@bach Scripts]$ cd /usr/local/share/gems/gems
    [graeme@bach gems]$ ls -l
    total 20
    drwxr-xr-x 5 root root 4096 Dec 1 18:14 bigdecimal-1.4.4/
    drwxr-xr-x 5 root root 4096 Dec 1 18:12 mini_portile2-2.4.0/
    drwxr-xr-x 6 root root 4096 Dec 1 18:14 nokogiri-1.10.5/
    drwxr-xr-x 5 root root 4096 Dec 3 15:39 pg-1.1.4/
    drwxr-xr-x 6 root root 4096 Dec 4 12:29 sequel-5.27.0/
    Using the full path doesn't help either:

    require '/usr/local/share/gems/gems/sequel'
    cannot load such file -- /usr/local/share/gems/gems/sequel (LoadError)
    Would appreciate some help please.
    --
    Grimble
    Registered Linux User #450547
    Machine 'Bach' running Plasma 5.15.4 on 5.3.13-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grimble@21:1/5 to jasnow1@gmail.com on Fri Dec 6 15:50:04 2019
    On 06/12/2019 13:50, jasnow1@gmail.com wrote:
    What ruby gem manager do you use?

    gem -v
    2.6.14
    What does "gem list sequel" return?
    gem list sequel

    *** LOCAL GEMS ***

    sequel (5.27.0, 5.12.0)

    On Thursday, December 5, 2019 at 11:29:54 AM UTC-5, Grimble wrote:
    Environment: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
    Just upgraded From Mageia 6 to Mageia 7 (in-situ, not fresh install)
    A Ruby program that worked under Mageia 6 now refuses with error message:

    `require': cannot load such file -- sequel (LoadError)

    I have researched this error (pretty frequent on Stackoverflow!) but
    can't see a solution that pertains.
    From 'gem environment'

    - GEM PATHS:
    - /home/graeme/.gem/ruby/2.5.0
    - /usr/share/gems
    - /usr/local/share/gems
    But it's there:

    [graeme@bach Scripts]$ cd /usr/local/share/gems/gems
    [graeme@bach gems]$ ls -l
    total 20
    drwxr-xr-x 5 root root 4096 Dec 1 18:14 bigdecimal-1.4.4/
    drwxr-xr-x 5 root root 4096 Dec 1 18:12 mini_portile2-2.4.0/
    drwxr-xr-x 6 root root 4096 Dec 1 18:14 nokogiri-1.10.5/
    drwxr-xr-x 5 root root 4096 Dec 3 15:39 pg-1.1.4/
    drwxr-xr-x 6 root root 4096 Dec 4 12:29 sequel-5.27.0/
    Using the full path doesn't help either:

    require '/usr/local/share/gems/gems/sequel'
    cannot load such file -- /usr/local/share/gems/gems/sequel (LoadError)
    Would appreciate some help please.
    --
    Grimble
    Registered Linux User #450547
    Machine 'Bach' running Plasma 5.15.4 on 5.3.13-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64



    --
    Grimble
    Registered Linux User #450547
    Machine 'Bach' running Plasma 5.15.4 on 5.3.13-desktop-2.mga7 kernel.
    Mageia release 7 (Official) for x86_64

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)