2012-12-08 1 views
0

NetBeans ROR 응용 프로그램에서 모든 보석을 업데이트하려고하지만 보석 업데이트 GUI를 사용하려고하면 프로세스가 실패하고 오랜 시간 동안 오류 메시지가 표시됩니다. (아래 붙여 넣기) 문제 해결 방법에 대한 아이디어가 있습니까?Netbeans 6.9.1의 Ruby Gems 업데이트가 깨졌습니다.

Installing gem i18n-0.6.1 
System.java:-2:in `arraycopy': java.lang.ArrayIndexOutOfBoundsException 
    from DefaultResolver.java:111:in `makeTime' 
    from DefaultResolver.java:277:in `create' 
    from DefaultResolver.java:317:in `handleScalar' 
    from DefaultResolver.java:435:in `orgHandler' 
    from DefaultResolver.java:455:in `node_import' 
    from org/yecht/ruby/DefaultResolver$s_method_1_0$RUBYINVOKER$node_import.gen:65535:in `call' 
    from CachingCallSite.java:146:in `call' 
    from RubyLoadHandler.java:40:in `handle' 
    from Parser.java:300:in `addNode' 
    from DefaultYAMLParser.java:676:in `yyparse' 
    from Parser.java:290:in `yechtparse' 
    from Parser.java:284:in `parse' 
    from YParser.java:152:in `load' 
    from org/yecht/ruby/YParser$s_method_0_1$RUBYINVOKER$load.gen:65535:in `call' 
    from JavaMethod.java:630:in `call' 
    from DynamicMethod.java:186:in `call' 
    from CachingCallSite.java:309:in `cacheAndCall' 
    from CachingCallSite.java:148:in `call' 
    from CallOneArgNode.java:57:in `interpret' 
    from LocalAsgnNode.java:123:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from InterpretedMethod.java:180:in `call' 
    from DefaultMethod.java:172:in `call' 
    from CachingCallSite.java:309:in `cacheAndCall' 
    from CachingCallSite.java:148:in `call' 
    from CallOneArgNode.java:57:in `interpret' 
    from LocalAsgnNode.java:123:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedMethod.java:180:in `call' 
    from DefaultMethod.java:172:in `call' 
    from CachingCallSite.java:309:in `cacheAndCall' 
    from CachingCallSite.java:148:in `call' 
    from CallOneArgNode.java:57:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from RescueNode.java:199:in `executeBody' 
    from RescueNode.java:118:in `interpretWithJavaExceptions' 
    from RescueNode.java:110:in `interpret' 
    from InterpretedMethod.java:180:in `call' 
    from DefaultMethod.java:172:in `call' 
    from CachingCallSite.java:309:in `cacheAndCall' 
    from CachingCallSite.java:148:in `call' 
    from FCallOneArgNode.java:36:in `interpret' 
    from InstAsgnNode.java:95:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from EnsureNode.java:96:in `interpret' 
    from BeginNode.java:83:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from WhenOneArgNode.java:36:in `whenSlowTest' 
    from WhenOneArgNode.java:46:in `when' 
    from CaseNode.java:133:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from InterpretedBlock.java:373:in `evalBlockBody' 
    from InterpretedBlock.java:346:in `yield' 
    from InterpretedBlock.java:303:in `yield' 
    from Block.java:194:in `yield' 
    from YieldNode.java:112:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedBlock.java:373:in `evalBlockBody' 
    from InterpretedBlock.java:346:in `yield' 
    from InterpretedBlock.java:303:in `yield' 
    from Block.java:194:in `yield' 
    from RubyKernel.java:1251:in `loop_1_9' 
    from org/jruby/RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop_1_9.gen:65535:in `call' 
    from CachingCallSite.java:299:in `cacheAndCall' 
    from CachingCallSite.java:117:in `callBlock' 
    from CachingCallSite.java:132:in `callIter' 
    from FCallNoArgBlockNode.java:32:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from InterpretedMethod.java:160:in `call' 
    from DefaultMethod.java:164:in `call' 
    from CachingCallSite.java:299:in `cacheAndCall' 
    from CachingCallSite.java:117:in `callBlock' 
    from CachingCallSite.java:122:in `call' 
    from CallNoArgBlockNode.java:64:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedMethod.java:242:in `call' 
    from DefaultMethod.java:196:in `call' 
    from CachingCallSite.java:339:in `cacheAndCall' 
    from CachingCallSite.java:197:in `callBlock' 
    from CachingCallSite.java:202:in `call' 
    from RubyClass.java:815:in `call' 
    from DynamicMethod.java:194:in `call' 
    from WrapperMethod.java:62:in `call' 
    from CachingCallSite.java:329:in `cacheAndCall' 
    from CachingCallSite.java:188:in `call' 
    from FCallTwoArgNode.java:38:in `interpret' 
    from LocalAsgnNode.java:123:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from EnsureNode.java:96:in `interpret' 
    from InterpretedMethod.java:242:in `call' 
    from DefaultMethod.java:196:in `call' 
    from CachingCallSite.java:339:in `cacheAndCall' 
    from CachingCallSite.java:197:in `callBlock' 
    from CachingCallSite.java:202:in `call' 
    from CallTwoArgBlockPassNode.java:62:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedMethod.java:283:in `call' 
    from DefaultMethod.java:212:in `call' 
    from CachingCallSite.java:359:in `cacheAndCall' 
    from CachingCallSite.java:237:in `callBlock' 
    from CachingCallSite.java:252:in `callIter' 
    from CallThreeArgBlockNode.java:64:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedMethod.java:262:in `call' 
    from DefaultMethod.java:204:in `call' 
    from CachingCallSite.java:349:in `cacheAndCall' 
    from CachingCallSite.java:228:in `call' 
    from FCallThreeArgNode.java:40:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from InterpretedBlock.java:373:in `evalBlockBody' 
    from InterpretedBlock.java:346:in `yield' 
    from InterpretedBlock.java:303:in `yield' 
    from Block.java:194:in `yield' 
    from RubyIO.java:1104:in `open' 
    from RubyKernel.java:283:in `open' 
    from org/jruby/RubyKernel$s_method_0_2$RUBYFRAMEDINVOKER$open.gen:65535:in `call' 
    from DynamicMethod.java:198:in `call' 
    from CachingCallSite.java:339:in `cacheAndCall' 
    from CachingCallSite.java:197:in `callBlock' 
    from CachingCallSite.java:212:in `callIter' 
    from FCallTwoArgBlockNode.java:34:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from IfNode.java:119:in `interpret' 
    from IfNode.java:119:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedMethod.java:221:in `call' 
    from DefaultMethod.java:188:in `call' 
    from CachingCallSite.java:329:in `cacheAndCall' 
    from CachingCallSite.java:188:in `call' 
    from CallTwoArgNode.java:59:in `interpret' 
    from InstAsgnNode.java:95:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from RescueNode.java:199:in `executeBody' 
    from RescueNode.java:118:in `interpretWithJavaExceptions' 
    from RescueNode.java:110:in `interpret' 
    from BeginNode.java:83:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedMethod.java:242:in `call' 
    from DefaultMethod.java:196:in `call' 
    from CachingCallSite.java:339:in `cacheAndCall' 
    from CachingCallSite.java:197:in `callBlock' 
    from CachingCallSite.java:202:in `call' 
    from RubyClass.java:815:in `call' 
    from DynamicMethod.java:194:in `call' 
    from CachingCallSite.java:329:in `cacheAndCall' 
    from CachingCallSite.java:188:in `call' 
    from CallTwoArgNode.java:59:in `interpret' 
    from DAsgnNode.java:110:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedBlock.java:373:in `evalBlockBody' 
    from InterpretedBlock.java:346:in `yield' 
    from InterpretedBlock.java:303:in `yield' 
    from Block.java:194:in `yield' 
    from RubyArray.java:1630:in `eachCommon' 
    from RubyArray.java:1637:in `each' 
    from org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535:in `call' 
    from CachingCallSite.java:299:in `cacheAndCall' 
    from CachingCallSite.java:117:in `callBlock' 
    from CachingCallSite.java:122:in `call' 
    from CallNoArgBlockNode.java:64:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedMethod.java:180:in `call' 
    from DefaultMethod.java:172:in `call' 
    from CachingCallSite.java:309:in `cacheAndCall' 
    from CachingCallSite.java:148:in `call' 
    from CallOneArgNode.java:57:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from RescueNode.java:199:in `executeBody' 
    from RescueNode.java:118:in `interpretWithJavaExceptions' 
    from RescueNode.java:110:in `interpret' 
    from BeginNode.java:83:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedBlock.java:373:in `evalBlockBody' 
    from InterpretedBlock.java:346:in `yield' 
    from InterpretedBlock.java:303:in `yield' 
    from Block.java:194:in `yield' 
    from RubyArray.java:1630:in `eachCommon' 
    from RubyArray.java:1637:in `each' 
    from org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535:in `call' 
    from CachingCallSite.java:299:in `cacheAndCall' 
    from CachingCallSite.java:117:in `callBlock' 
    from CachingCallSite.java:122:in `call' 
    from CallNoArgBlockNode.java:64:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedMethod.java:139:in `call' 
    from DefaultMethod.java:156:in `call' 
    from CachingCallSite.java:289:in `cacheAndCall' 
    from CachingCallSite.java:108:in `call' 
    from VCallNode.java:85:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from IfNode.java:119:in `interpret' 
    from IfNode.java:119:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedMethod.java:262:in `call' 
    from DefaultMethod.java:204:in `call' 
    from CachingCallSite.java:349:in `cacheAndCall' 
    from CachingCallSite.java:228:in `call' 
    from CallSpecialArgNode.java:71:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from CaseNode.java:138:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedMethod.java:180:in `call' 
    from DefaultMethod.java:172:in `call' 
    from CachingCallSite.java:309:in `cacheAndCall' 
    from CachingCallSite.java:148:in `call' 
    from FCallOneArgNode.java:36:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from RescueNode.java:199:in `executeBody' 
    from RescueNode.java:118:in `interpretWithJavaExceptions' 
    from RescueNode.java:110:in `interpret' 
    from InterpretedMethod.java:180:in `call' 
    from DefaultMethod.java:172:in `call' 
    from CachingCallSite.java:309:in `cacheAndCall' 
    from CachingCallSite.java:148:in `call' 
    from CallOneArgNode.java:57:in `interpret' 
    from NewlineNode.java:104:in `interpret' 
    from BlockNode.java:71:in `interpret' 
    from InterpretedMethod.java:180:in `call' 
    from DefaultMethod.java:172:in `call' 
    from CachingCallSite.java:309:in `cacheAndCall' 
    from CachingCallSite.java:148:in `call' 
    from gem:24:in `rescue_1$RUBY$__rescue___0' 
    from gem:23:in `__file__' 
    from gem:-1:in `load' 
    from Ruby.java:685:in `runScript' 
    from Ruby.java:568:in `runNormally' 
    from Ruby.java:414:in `runFromMain' 
    from Main.java:286:in `run' 
    from Main.java:128:in `run' 
    from Main.java:97:in `main' 
+1

명령 줄에서'gem update i18n' 또는'gem update'를 입력하면 어떻게됩니까? 그것은 보석을 관리하는 표준 방법입니다. –

답변

0

netbeans rails arraycopy에 대한 빠른 검색 this thread from ruby-forum.com by Msan Msan을 보여준다. 꽤 오래되었으므로 보석 버전은 다를 수 있지만 아마 도움이 될 것입니다. 내가 경우 여기를 삽입하고있어

원래 사이트에서 사라 : 당신은 레일을 설치하기 전에 arel의 V 2.0.9을 설치해야합니다

. 그런 다음 레일을 설치하십시오. 그러면 Gemfile에

gem 'arel', '2.0.9'를 입력해야합니다.

문제는 당신이

보석 'RSpec에 레일', '2.6.0.rc6'를 넣어야 당신의 Gemfile 너무 RSpec에 2.6.0에 있습니다.