Установка bluecloth - варианты конфигурации?

Я попытался установить драгоценный камень Bluecloth, набрав

gem install bluecloth

Но когда я это делаю, я получаю следующее сообщение об ошибке:

checking for random()... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/Users/cyrusstoller/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
    --with-rdiscount-dir
    --without-rdiscount-dir
    --with-rdiscount-include
    --without-rdiscount-include=${rdiscount-dir}/include
    --with-rdiscount-lib
    --without-rdiscount-lib=${rdiscount-dir}/lib

Какие варианты я должен предоставить?

2 ответа

У меня была такая же проблема при попытке установить bluecloth 2.0.11 под Ruby 2.2.3. Оказывается, Ruby 2.2.3 был слишком новым. Возвращение к Ruby 2.1.5 решило проблему.

Проверьте свою.ruby-версию.

Мне нужно было установить уценку, прежде чем я попытался установить драгоценный камень.

бежать

варка установить уценку

затем

драгоценный камень установить Bluecloth

Другие вопросы по тегам