Ruby on rails 3 安装bluecloth-配置选项?
我试着通过打字来安装bluecloth gemRuby on rails 3 安装bluecloth-配置选项?,ruby-on-rails-3,rubygems,bluecloth,Ruby On Rails 3,Rubygems,Bluecloth,我试着通过打字来安装bluecloth gem 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
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
我应该提供哪些选项?在尝试安装gem之前,我需要安装markdown 跑 brew安装降价 然后 宝石蓝布
在Ruby 2.2.3下安装bluecloth 2.0.11时,我遇到了同样的问题。原来Ruby 2.2.3太新了。回到Ruby 2.1.5解决了这个问题 检查你的.ruby版本