简体   繁体   English

由于therubyracer依赖性,Rails Twitter Bootstrap gem捆绑安装失败?

[英]Rails Twitter Bootstrap gem failing bundle install due to therubyracer dependency?

I'm trying to install Twitter-Bootstrap-Rails gem on Mac OSX Lion. 我正在尝试在Mac OSX Lion上安装Twitter-Bootstrap-Rails gem。 I added the twitter-bootsrap line to my Gemfile, but when I run bundle install, it's failing due to an issue with therubyracer 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.

I already have developer tools running, and XCode 4.3.2. 我已经在运行开发人员工具和XCode 4.3.2。 I'm running Rails 3.2 and Ruby 1.9.2p318. 我正在运行Rails 3.2和Ruby 1.9.2p318。

Any idea why the compiler might be failing for this gem install or how I can fix? 知道为什么编译器可能无法进行此gem安装或如何修复吗?

gem install therubyracer

or 要么

gem 'therubyracer'

works for me on linux. 在Linux上为我工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法将gem therubyracer安装到twitter-bootstrap-rails - can't install gem therubyracer to twitter-bootstrap-rails Windows 7中的Ruby on Rails 4:使用错误的therubyracer gem进行捆绑安装 - Ruby on Rails 4 in Windows 7: Bundle install using wrong therubyracer gem rails bundle 安装错误 therubyracer - rails bundle install error therubyracer 由于therubyracer gem而导致捆绑安装错误 - bundle install error because of therubyracer gem PostgreSQL gem在CentOS 6上为Rails进行捆绑安装时失败 - PostgreSQL gem failing in bundle install for Rails on CentOS 6 Rails-捆绑包安装由于缺少宝石而失败 - Rails - Bundle install failing due to missing gems 使用Ruby On Rails 4.2.5.1,我可以进行gem安装therubyracer,但在OS X 10.11.1上捆绑失败 - With Ruby On Rails 4.2.5.1 I can gem install therubyracer but bundle fails on OS X 10.11.1 由于therubyracer编译失败,因此无法在Heroku上部署twitter-bootstrap-rails gem - Unable to deploy twitter-bootstrap-rails gem on Heroku because therubyracer fails compilation Rails Bundle安装在bootstrap-sass上失败 - Rails Bundle Install failing on bootstrap-sass 在 mac 上运行“bundle install”时出错 - therubyracer 安装失败 - Error when running “bundle install” on mac - therubyracer failing to install
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM