草庐IT

OS_xpc_error

全部标签

ruby - 在 Mac OS X 10.5.8 中安装 Nokogiri gem 时出现问题

我正在尝试在OSXLeopard(10.5.8)中的RVM管理的Ruby1.8.7安装下安装Nokogirigem。我收到以下错误:Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingnokogiri:ERROR:Failedtobuildgemnativeextension./Users/user/.rvm/rubies/ruby-1.8.7-p352/bin/rubyextconf.rbcheckingforlibxml/parser.h...yescheckingforlibxslt/xslt.h

ruby - 在 os x 上使 ruby​​ 1.9 默认

这个问题在这里已经有了答案:InstallingRVM(RubyVersionManager)(2个答案)关闭8年前。如何使ruby​​1.9成为要使用的默认版本,而不是默认安装在osx上的1.8.x?谢谢。

ruby-on-rails - 如何在 Rails 5.0.0 上修复 bundle 安装 "nio4r error"

准确的错误是:Anerroroccurredwhileinstallingnio4r(1.2.1),andbundlercannotcontinue.Makesurethat'geminstallnio4r-v'1.2.1''succeedsbeforebundling.这是一条轨迹:Fetchinggemmetadatafromhttps://rubygems.org/Fetchingversionmetadatafromhttps://rubygems.org/Fetchingdependencymetadatafromhttps://rubygems.org/Usingrake1

ruby - 在 Mac OS X 上安装 Homebrew 无法连接到 raw.githubusercontent.com 端口 443

当我尝试安装Homebrew时,出现以下连接被拒绝错误。请帮我解决这个问题。$ruby-e"$(curl-fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install)"curl:(7)Failedtoconnecttoraw.githubusercontent.comport443:Connectionrefused 最佳答案 适合我。除非它是github的真正问题,它可能是但我猜它不是,它可能是您的连接问题。您可以通过浏览器访问相同的URL吗?http

OS X 上的 Ruby GSL

我正在尝试在OSX10.9上安装RubyGSL。我正在使用通过RVM安装的Ruby2.0.0。根据其site,我需要先安装GSL。然后,我使用Homebrew安装GSL(brewinstallgsl)。接下来,我执行了geminstallgsl,但收到此错误消息:compilingfft.cfft.c:270:60:warning:implicitconversionlosesintegerprecision:'size_t'(aka'unsignedlong')to'int'[-Wshorten-64-to-32]for(i=0;inf;i++)gsl_vector_int_set(

ruby - JRuby cannot switch to 1.6.2 for this interpreter error rvm

我正在尝试在UbuntuLinux上使用RVM配置JRuby。我已成功安装RVM,但在尝试安装Jruby时,出现以下错误:dlitwak@ubuntu:~$rvminstalljruby-1.6.0jruby-1.6.0-#fetchingjruby-1.6.0-#extractedto/home/dlitwak/.rvm/src/jruby-1.6.0(alreadyextracted)BuildingNailgunjruby-1.6.0-#installingto/home/dlitwak/.rvm/rubies/jruby-1.6.0**ERROR:Cannotswitchto1

Ruby 2.0 抛出 "[BUG] Stack consistency error"

我正在学习RubyKoans中的练习在about_proxy_object_project.rb中有这段代码:classProxydefinitialize(target_object)@object=target_objectend#Thismethodwasaddedbymedefmethod_missing(method_name,*args,&block)@object.sendmethod_nameendend这样调用:deftest_tv_methods_still_perform_their_functiontv=Proxy.new(Television.new)#Tel

ruby-on-rails - OS X Yosemite 的 Ruby 错误

我刚刚升级到OSXYosemite,在运行我的Rails应用程序时遇到了各种问题。我经常看到以下错误:ruby(11958,0x7fff7e430300)malloc:***errorforobject0x7f880b801808:incorrectchecksumforfreedobject-objectwasprobablymodifiedafterbeingfreed.***setabreakpointinmalloc_error_breaktodebugAborttrap:6有什么办法解决这个问题吗?编辑我尝试遵循此页面上的建议:HowtogetRuby/Homebrew/RV

ruby-on-rails - OAuth2::Error,invalid_request:redirect_uri 与应用程序配置不匹配

我正在开发一个使用BungieOAuth使用thisgem进行身份验证的Rails应用程序.我在initializers/devise.rb中的配置如下:config.omniauth:bungie,ENV['CLIENT_ID'],ENV['CLIENT_SECRET'],ENV['X_API_KEY'],ENV['REDIRECT_URL']Bungie的开发人员门户需要使用HTTPS的重定向URL,因此我将我的应用程序推送到Heroku并使用了aredirect强制身份验证返回本地主机进行测试。使用这种方法,一切正常。但是,当我将应用程序推向生产环境时,Bungie对我的应用程序

ruby - 在 Mac OS X 上调试 Ruby 中的 malloc 错误

我正在尝试调试在运行某些Ruby脚本时遇到的如下错误:ruby(47333,0x7fff72aee960)malloc:***errorforobject0x7f98b6a6e3f0:pointerbeingfreedwasnotallocated***setabreakpointinmalloc_error_breaktodebug知道如何实际设置这样的断点和调试吗?我想看看这是由Ruby本身还是一些extensio..我正在使用MacOSX10.7.3(Lion)和ruby1.8.7(2010-01-10patchlevel249)[universal-darwin11.0].