我已经在CygWin中安装了ruby2.2.5/gem2.3.0但在使用geminstall时出现安装错误。正如某些地方所建议的那样,我也尝试了gemupdate--system但即使那样也没有帮助。如何解决这个问题?我附上了我运行的命令的输出:$geminstallnapa--backtraceERROR:Whileexecutinggem...(TypeError)noimplicitconversionofnilintoString/usr/local/share/ruby/site_ruby/rubygems/installer.rb:168:in`check_executab
当我输入时:gemenv在我的Windows系统上,它会生成以下信息:RubyGemsEnvironment:-RUBYGEMSVERSION:1.3.5-RUBYVERSION:1.8.7(2010-01-10patchlevel249)[i386-mingw32]-INSTALLATIONDIRECTORY:C:/Ruby/lib/ruby/gems/1.8-RUBYEXECUTABLE:C:/Ruby/bin/ruby.exe-EXECUTABLEDIRECTORY:C:/Ruby/bin-RUBYGEMSPLATFORMS:-ruby-x86-mingw32-GEMPATHS:
已升级到Rails3,并在混合平台开发组中使用Bundlerforgems。我在Windows上。当我运行BundleInstall时,它会成功完成,但不会安装hpricot。hpricot行是:gem"hpricot","0.8.3",:platform=>:mswin也试过gem"hpricot",:platform=>:mswin两者都很好,但是当我尝试执行“bundleshowhpricot”时,我得到:Couldnotfindgem'hpricot'inthecurrentbundle.如果我运行Rails控制台并尝试“require'hpricot'”,我会得到:LoadE
我刚刚看了这个关于Resque的惊人的railscast.在我启动redis服务器并启动workers之后:rakeenvironmentresque:workQUEUE="*"我想加载resque网络界面。跑完后resque-web-p8282出现这个错误:C:\Users\makaroni4\free_frog\ffapi>resque-web-p8282[2011-06-2119:04:13+0400]RunningwithWindowsSettings[2011-06-2119:04:13+0400]Starting'resque-web'...[2011-06-2119:04
使用rubygem'sequel',当我尝试Sequel.connect("mysql://localhost")时,出现以下错误:Sequel::AdapterNotFound:LoadError:require'mysql'didnotdefineMysql::CLIENT_MULTI_RESULTS!Youareprobablyusingthepurerubymysql.rbdriver,whichSequeldoesnotsupport.YouneedtoinstalltheCbasedadapter,andmakesurethatthemysql.sofileisload
我对其中的大部分内容都不熟悉:我的问题始于installrails.com进程的railsnewsample_app阶段。它会执行它的操作,开始runbundleinstall并出现错误“CouldnotverifytheSSLcertificateforhttps://rubygems.org/”。我搜索并了解我必须更新证书,如下所述:http://guides.rubygems.org/ssl-certificate-update/我在上面的页面中了解到rubygems2.4.x对于windows是坏的,因此没有下载来更新我的证书。所以我尝试更新$gemupdate--syst
几个星期以来,我根本无法在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
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中使用chef。http://www.opscode.com/chef/install.msi当我运行$geminstallberkshelf时,我遇到了这个错误。我该如何解决这个错误?TemporarilyenhancingPATHtoincludeDevKit...Buildingnativeextensions.Thiscouldtakeawhile...Fetching:dep_selector-1.0.3.gem(100%)Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorins