Closed frederic-joventures closed 7 years ago
Which platform are you seeing this on?
Ubuntu 14.04 latest
I'm unable to repro this. Can you post the full command you are using to install the plugin.
@frederic-jomedia Were you able to get the install command?
sorry for the delay I install using : /opt/sensu/embedded/bin/gem install sensu-plugins-memcached -v 0.0.3
@frederic-jomedia my guess would be that /opt/sensu/embedded/bin/ruby
is not on your path
Try adding it to your path prior to running the command.
Also check the output of which ruby
It is indeed the case but I only have the problem with this particular plugin. I suppose the others force the usage of the embedded ruby ?
I can confirm that the installation succeeded with sensu's ruby in the path.
FWIW, I did not experience this on Debian 8 Jessie. I went ahead and made sure that libsasl2-dev
was installed and when I installed the plugin using sensu-install
it worked with out error.
Since the sensu-install (instead of calling gem directly ) command line it is working. So I guess it can be closed
Hello, when trying to install I have a error ruby not found.
GMAKE_CMD='make' CXXFLAGS=' -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -std=gnu++98 -L/opt/sensu/embedded/lib -I/opt/sensu/embedded/include -fPIC -L/opt/sensu/embedded/lib -I/opt/sensu/embedded/include -fPIC' SOURCE_DIR='libmemcached-0.32' HERE='/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/memcached-1.8.0/ext' ruby ../extconf-make.rb sh: 1: ruby: not found
I use the embedded ruby from sensu and do not have another version of ruby installed.