Open ghost opened 4 years ago
What do you see if you run gem list
*** LOCAL GEMS ***
bigdecimal (default: 1.3.4)
bundler (1.17.3)
cmath (default: 1.0.0)
csv (default: 1.0.0)
date (default: 1.0.0)
dbm (default: 1.0.0)
did_you_mean (1.2.1)
etc (default: 1.0.0)
fcntl (default: 1.0.0)
fiddle (default: 1.0.0)
fileutils (default: 1.0.2)
gdbm (default: 2.0.0)
io-console (default: 0.4.6)
ipaddr (default: 1.2.0)
json (default: 2.1.0)
minitest (5.11.3)
molinillo (0.6.4)
net-http-persistent (2.9.4)
net-telnet (0.1.1)
openssl (default: 2.1.2)
power_assert (1.1.1)
psych (default: 3.0.2)
rake (12.3.1)
rdoc (default: 6.0.1)
scanf (default: 1.0.0)
sdbm (default: 1.0.0)
stringio (default: 0.0.1)
strscan (default: 1.0.0)
test-unit (3.2.8)
thor (0.19.4)
webrick (default: 1.4.2)
xmlrpc (0.3.0)
zlib (default: 1.0.0)
$ gem --version
2.7.6.2
Do you have multiple versions of Ruby installed?
Based on the output above, addressable
was installed with bundle install
, but it is not present in gem list
.
If you're using multiple versions of Ruby, you will need to ensure you're installing the gems with the correct version of bundler
.
ie,
bundle2.7 install
ruby2.7 ./whatweb
Yes, there are ruby2.1 and ruby2.5 installed. But while bundler depends on ruby2.1, both these commands somehow complain about missing dependencies:
$ ruby2.1 ./whatweb
WhatWeb is not installed and is missing dependencies.
The following gems are missing:
- addressable
- ipaddr
$ ruby2.5 ./whatweb
WhatWeb is not installed and is missing dependencies.
The following gems are missing:
- addressable
There are no other ruby versions installed.
Despite my having successfully run
bundle install
, whatweb keeps on complaining that theaddressable
gem is missing.I'm on Debian 10.5.