无法成功安装捆绑包
由于某种原因,当我尝试通过 Rails 安装 Bundle 时,出现错误,提示渲染无法找到 gem 文件。我需要做什么来纠正这个问题?这些是以下错误:
Installing sqlite3-ruby (1.3.2) with native extensions /Users/demetriuford/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
*** extconf.rb failed ***
由于某种原因无法创建 Makefile,可能缺少 必要的库和/或标头。检查 mkmf.log 文件了解更多信息 细节。您可能需要配置选项。
For some reason when I try to install Bundle via Rails, I get an error that renders could not locate gem file. What do I need to do to correct this? These are the following errors:
Installing sqlite3-ruby (1.3.2) with native extensions /Users/demetriuford/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/rubygems/installer.rb:483:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
*** 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否安装了最新的 OS X XCode 开发人员工具? http://developer.apple.com/technologies/tools/xcode.html
Do you have the latest OS X XCode developer tools installed? http://developer.apple.com/technologies/tools/xcode.html