草庐IT

react-native-share

全部标签

ruby-on-rails - 无法构建 gem native 扩展

最终结果是我试图在我的操作系统10.7.3上安装RubyonRails,但遇到了各种问题。另外,我有一个从AppStore新安装的XCode4.3。当我启动终端并输入:sudogeminstallrails它写出:Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingrails:ERROR:Failedtobuildgemnativeextension./System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/rubyextconf.rb

ruby - 无法安装 Curb - native 扩展有问题。

我正在尝试在我的Debian机器上安装curbgem,但我很难用native扩展构建gem。我正在使用RVM。只是我正在使用的东西的列表:Derby安bundlerrvmruby-1.9.2-p180遏制有人告诉我必须安装以下软件包,我已经安装了:sudoapt-getinstalllibcurl3libcurl3-gnutlslibcurl4-openssl-dev当我继续这样做时:gem安装限制Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingcurb:ERROR:Failedtobuildgem

ruby-on-rails - 安装调试器时出错 : Failed to build gem native extension with ruby-1. 9.3-p362

尝试为新项目运行bundle时,遇到以下错误:Installingdebugger(1.2.2)withnativeextensionsGem::Installer::ExtensionBuildError:ERROR:Failedtobuildgemnativeextension.C:/Ruby193/bin/ruby.exeextconf.rbcheckingforrb_method_entry_t.called_idinmethod.h...nocheckingforrb_control_frame_t.method_idinmethod.h...nocheckingforrb_

ruby-on-rails - BUNDLE_DISABLE_SHARED_GEMS : '1' ? 是什么意思

我在.bundle/config中找到了BUNDLE_DISABLE_SHARED_GEMS:'1'。什么意思? 最佳答案 Bundler从~/.bundle/config文件中获取一些设置——而不是从shell环境中获取。当设置为true(默认)时,所有gem都将安装到BUNDLE_PATH,无论这些gem是否安装在您的系统中。默认情况下,Bundler不会安装系统gems中已经存在的gems,因此如果您尝试打包应用程序并解压所有依赖项,这将特别有用。 关于ruby-on-rails-

ruby-on-rails - 错误 : failed to build gem native extension when installing rails on mac mountian lion os

我最近更新到MountainLion并重新安装了Ruby,但是当我尝试运行测试Rails应用程序时,我收到一条错误消息,指出“我的系统当前未安装Rails”。我按照它说的做,输入sudogeminstallrails并得到:clearedfaster_requirecachesduetonewgeminstall...Successfullyinstalledrails-3.2.71geminstalledInstallingridocumentationforrails-3.2.7...InstallingRDocdocumentationforrails-3.2.7...但是当我检

ruby-on-rails - macOS, rails : "Failed to build gem native extension"

我无法尝试在我的Mac上安装Rails。我有OSX10.6.8,我已经确认我有Ruby,版本1.8.7我运行了sudogemupdate和sudogemupdate--system来获取最新版本的软件。但是,当我运行sudogeminstallrails时,出现了这个错误:ERROR:Errorinstallingrails:ERROR:Failedtobuildgemnativeextension./System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/rubyextconf.rbmkmf.rbcan'tfindh

ruby-on-rails - 使用 'gem pq' 安装 PostgreSQL gem 失败并出现错误 : Failed to build gem native extension

我正在学习RubyonRails并尝试开发应用程序。在我的应用程序中,我试图在开发模式下使用默认的SQLite数据库,在生产模式下使用PostgreSQL。但是我在尝试使用安装pggem时遇到以下错误:geminstallpgBuilding native extensions.  This could take a while...ERROR:  Error installing pg:        ERROR: Failed to build gem native extension.     /home/tusharkhatiwada/.rvm/rubies/ruby-2.0.

ruby-on-rails - 错误 : Failed to build gem native extension on Mavericks

我正在尝试在OSX10.9上的Rails项目中运行bundle。到达pggem时失败并出现此错误:Gem::Installer::ExtensionBuildError:ERROR:Failedtobuildgemnativeextension./Users/kyledecot/.rvm/rubies/ruby-2.0.0-p247/bin/rubyextconf.rbcheckingforpg_config...noNopg_config...tryinganyway.Ifbuildingfails,pleasetryagainwith--with-pg-config=/path/t

ruby-on-rails - 安装 nokogiri : Failed to build gem native extension & libiconv is missing (OSX) 时出错

我尝试克隆thisrepo并运行bundleinstall。捆绑过程失败并抛出此错误:...Installingnokogiri1.6.2.1withnativeextensionsBuildingnokogiriusingpackagedlibraries.Gem::Ext::BuildError:ERROR:Failedtobuildgemnativeextension./Users/zulhilmizainudin/.rvm/rubies/ruby-2.2.0/bin/ruby-r./siteconf20151130-43880-pntnc6.rbextconf.rbBuildi

ruby - 安装 Jekyll 时出错 - native 扩展构建

我在安装jekyll时遇到了一些问题。无法完全弄清楚如何修补缺失的链接。我认为这是对Ruby的更新,但RVM在安装ruby​​的替代版本时也遇到了问题。这是完整的帖子:$sudogeminstalljekyllERROR:Errorinstallingjekyll:ERROR:Failedtobuildgemnativeextension./System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/rubyextconf.rbmkmf.rbcan'tfindheaderfilesforrubyat/System/Libr