首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装bluecloth -配置选项?

安装bluecloth -配置选项?
EN

Stack Overflow用户
提问于 2011-09-22 12:17:27
回答 2查看 294关注 0票数 1

我尝试通过输入以下命令来安装bluecloth gem

代码语言:javascript
复制
gem install bluecloth

但当我这样做时,我得到了以下错误消息:

代码语言:javascript
复制
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

我应该提供什么选项?

EN

回答 2

Stack Overflow用户

发布于 2011-09-23 15:40:45

在我尝试安装gem之前,我需要安装markdown。

brew安装标记

然后

gem安装bluecloth

票数 0
EN

Stack Overflow用户

发布于 2015-12-02 05:42:03

在Ruby 2.2.3下安装bluecloth 2.0.11时,我也遇到了同样的问题。结果发现Ruby 2.2.3太新了。回到Ruby 2.1.5解决了这个问题。

检查您的.ruby版本。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7509507

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档