P
P
Pavel Kaptur2017-06-21 16:11:43
Redmine
Pavel Kaptur, 2017-06-21 16:11:43

Why isn't the gem installed?

I want to install plugins on bitnami redmine and faced the following problem, I can't install redcarpet. When installing I get the following log

[email protected]:/home/drem1lin# gem install redcarpet -v '3.3.4'
Building native extensions. This could take a while...
/opt/redmine-3.3.3-0/ruby/lib/ruby/site_ruby/2.1.0/rubygems/ext/builder.rb:76: warning: Insecure world writable dir /opt/ redmine-3.3.3-0/perl in PATH, mode 040777
ERROR: Error installing redcarpet:
ERROR: Failed to build gem native extension.
current directory: /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/redcarpet-3.3.4/ext/redcarpet
/opt/redmine-3.3.3-0/ruby/ bin/ruby -r ./siteconf20170621-9119-uqjtmm.rb extconf.rb
creating Makefile
current directory: /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/redcarpet-3.3 .4/ext/redcarpet
make "DESTDIR=" clean
sh: 1: make: not found
current directory: /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/redcarpet-3.3.4/ext/redcarpet
make "DESTDIR="
sh: 1: make: not found
make failed, exit code 127
Gem files will remain installed in /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/gems/redcarpet-3.3.4 for inspection.
Results logged to /opt/redmine-3.3.3-0/ruby/lib/ruby/gems/2.1.0/extensions/x86_64-linux/2.1.0-static/redcarpet-3.3.4/gem_make.out

This is my first experience and I couldn't find anything that can fix it, installed ruby-dev, ruby-all-dev
did gem update --system

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Gladyshev, 2017-06-23
@drem1lin

it's not ruby, it can't execute some redcarper shell script.
Try installing
it should help

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question