我对其中的大部分内容都不熟悉:我的问题始于installrails.com进程的railsnewsample_app阶段。它会执行它的操作,开始runbundleinstall并出现错误“CouldnotverifytheSSLcertificateforhttps://rubygems.org/”。我搜索并了解我必须更新证书,如下所述:http://guides.rubygems.org/ssl-certificate-update/我在上面的页面中了解到rubygems2.4.x对于windows是坏的,因此没有下载来更新我的证书。所以我尝试更新$gemupdate--syst
我有一个在Windows机器上安装jdk8的windows_package资源,它看起来像这样:java_source="C:\\chef_solo\\utils\\jdk-8u121-windows-x64.exe"package_name="Java(TM)SEDevelopmentKit8(64-bit)"windows_packagepackage_namedosourcejava_sourceaction:installinstaller_type:customoptions"/s#{additional_options}"end问题是每个Chef都运行,它安装相同的jdk并
几个星期以来,我根本无法在Windows中运行geminstall。它坚持这条线:C:\Windows\System32>geminstallrails--version2.1.2BulkupdatingGemsourceindexfor:http://gems.rubyforge.org/有什么想法吗? 最佳答案 我在gem版本 关于windows-"geminstall"卡住在"updatingGemsourceindexfor[..]",我们在StackOverflow上找到一个类
当我尝试安装这个gem时,它声称我需要安装一个devkit,尽管我确信我已经安装了它。它还建议我需要在PATH中更新我的系统变量,我已经直接链接到ruby中的devkit文件。我在StackOverflow上看到了其他问题,但它们不适用于我的问题。这是完整的错误消息:C:\Users\Mahamoud>geminstalljsonERROR:Errorinstallingjson:The'json'nativegemrequiresinstalledbuildtools.PleaseupdateyourPATHtoincludebuildtoolsordownloadtheDevK
我是这个论坛的新手(如果我在错误的地方发帖,我深表歉意)而且对Chef也很陌生。我走遍了所有房屋,试图获得有关如何安装Windows服务的清晰示例。基本上我想要相当于“SCcreate”的Chef我尝试使用的Recipe是这样的:windows_package"RMS_EU"doinstaller_type:msiaction:installsource"c:\Servies\V5.5\EUNTRouteManager\Routing.WindowsService.exe"end当我运行它时,我收到错误消息,提示msi有问题。我已经尝试了这个脚本的多个变体,并且发现关于如何安装一个简单
WindowsVista,Ruby3.3.5版C:\>geminstallrmagickBuildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingrmagick:ERROR:Failedtobuildgemnativeextension.C:/Ruby19/bin/ruby.exeextconf.rbcheckingforRubyversion>=1.8.5...yesInvaliddrivespecification.UnabletogetImageMagickversion***extconf.rbfai
我刚刚试验了一个Windows批处理文件,该文件执行几个knife命令,但它不起作用。批处理文件执行第一个命令然后停止。这是Knife版:C:\Data\SVN\dev\trunk\chef-repo>knife-vChef:11.10.0这是批处理文件knife_cookbooks.bat:knifecookbookuploadaptknifecookbookuploadntpknifecookbookuploadsudoknifecookbookuploadsysctl输出:C:\Data\SVN\dev\trunk\chef-repo>knife_cookbooks.batC:\
我正在使用这个包在Windows中使用chef。http://www.opscode.com/chef/install.msi当我运行$geminstallberkshelf时,我遇到了这个错误。我该如何解决这个错误?TemporarilyenhancingPATHtoincludeDevKit...Buildingnativeextensions.Thiscouldtakeawhile...Fetching:dep_selector-1.0.3.gem(100%)Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorins
我在Windows上安装therubyracergem时遇到问题。使用Ruby2.1.632位并运行geminstalllibv8-v'3.16.14.3'----with-system-v8这是我得到的错误:Installingtherubyracer0.12.1withnativeextensionsGem::Ext::BuildError:ERROR:Failedtobuildgemnativeextension.C:/Ruby21/bin/ruby.exeextconf.rbcheckingformain()in-lpthread...nocheckingforv8.h...n
每次我尝试更新或安装JSONgem时,我都会遇到构建错误。这些是输出文件中的结果:c:/Ruby193/bin/ruby.exeextconf.rbcreatingMakefilemakegeneratingparser-i386-mingw32.defcompilingparser.cInfileincludedfromc:/Ruby193/include/ruby-1.9.1/ruby/ruby.h:1360,fromc:/Ruby193/include/ruby-1.9.1/ruby.h:32,from../fbuffer/fbuffer.h:6,fromparser.rl:1: