![](/img/trans.png)
[英]can't install gem therubyracer to twitter-bootstrap-rails
[英]Rails Twitter Bootstrap gem failing bundle install due to therubyracer dependency?
我正在嘗試在Mac OSX Lion上安裝Twitter-Bootstrap-Rails gem。 我在我的Gemfile中添加了twitter-bootsrap行,但是當運行捆綁安裝時,由於therubyracer gem出現問題,它失敗了。
....rvm/rubies/ruby-1.9.2-p318/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed to generate an executable file. (RuntimeError)
You have to install development tools first.
我已經在運行開發人員工具和XCode 4.3.2。 我正在運行Rails 3.2和Ruby 1.9.2p318。
知道為什么編譯器可能無法進行此gem安裝或如何修復嗎?
gem install therubyracer
要么
gem 'therubyracer'
在Linux上為我工作。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.