Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #7413

Ruby cannot load a gem

From Grimble <grimble@nomail.afraid.org>
Newsgroups comp.lang.ruby
Subject Ruby cannot load a gem
Date 2019-12-05 16:29 +0000
Organization A noiseless patient Spider
Message-ID <qsbb9s$uvj$1@dont-email.me> (permalink)

Show all headers | View raw


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

Back to comp.lang.ruby | Previous | NextNext in thread | Find similar


Thread

Ruby cannot load a gem Grimble <grimble@nomail.afraid.org> - 2019-12-05 16:29 +0000
  Re: Ruby cannot load a gem jasnow1@gmail.com - 2019-12-06 05:50 -0800
    Re: Ruby cannot load a gem Grimble <grimble@nomail.afraid.org> - 2019-12-06 15:50 +0000

csiph-web