2011-09-22 85 views
1

我试图通过键入安装bluecloth - 配置选项?

gem install bluecloth 

安装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 

选项我应该提供什么?

回答

0

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

运行

酿造安装降价

然后

创业板安装bluecloth

0

努力下安装bluecloth 2.0.11当我有同样的问题Ruby 2.2.3。原来,Ruby 2.2.3太新了。回到Ruby 2.1.5解决了这个问题。

检查您的.ruby版本。