Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make it cross-platform compatible #1

Closed
jarmo opened this issue Sep 25, 2010 · 4 comments
Closed

make it cross-platform compatible #1

jarmo opened this issue Sep 25, 2010 · 4 comments

Comments

@jarmo
Copy link
Owner

jarmo commented Sep 25, 2010

Currently all specs pass under 1.8.x MRI. Make specs passing also on 1.9.x and JRuby. Failing specs doesn't necessarily mean that functionality itself isn't working, but the specs themselves might need some refining.

@milgner
Copy link

milgner commented Mar 25, 2011

Trying to install the gem under JRuby 1.5.6 produces a crash. Do you have a fix perchance?

Installing require_all (1.2.0)
System.java:-2:in arraycopy': java.lang.ArrayIndexOutOfBoundsException from DefaultResolver.java:111:inmakeTime'
from DefaultResolver.java:277:in create' from DefaultResolver.java:317:inhandleScalar'
from DefaultResolver.java:435:in orgHandler' from DefaultResolver.java:455:innode_import'
from org/yecht/ruby/DefaultResolver$s_method_1_0$RUBYINVOKER$node_import.gen:65535:in call' from CachingCallSite.java:146:incall'
from RubyLoadHandler.java:40:in handle' from Parser.java:300:inaddNode'
from DefaultYAMLParser.java:676:in yyparse' from Parser.java:290:inyechtparse'
from Parser.java:284:in parse' from YParser.java:152:inload'
from org/yecht/ruby/YParser$s_method_0_1$RUBYINVOKER$load.gen:65535:in call' from JavaMethod.java:630:incall'
from DynamicMethod.java:186:in call' from CachingCallSite.java:146:incall'
from yaml:134:in __file__' from yaml:-1:infile'
from JittedMethod.java:153:in call' from CachingCallSite.java:146:incall'
from specification.rb:480:in __file__' from specification.rb:-1:infile'
from JittedMethod.java:153:in call' from CachingCallSite.java:146:incall'
from tar_input.rb:183:in rescue_1$RUBY$__rescue___0' from tar_input.rb:-1:infile'
from tar_input.rb:-1:in __file__' from JittedMethod.java:153:incall'
from CachingCallSite.java:146:in call' from FCallOneArgNode.java:36:ininterpret'
from InstAsgnNode.java:95:in interpret' from NewlineNode.java:104:ininterpret'
from BlockNode.java:71:in interpret' from EnsureNode.java:96:ininterpret'
from BeginNode.java:83:in interpret' from NewlineNode.java:104:ininterpret'
from WhenOneArgNode.java:36:in whenSlowTest' from WhenOneArgNode.java:46:inwhen'
from CaseNode.java:133:in interpret' from NewlineNode.java:104:ininterpret'
from InterpretedBlock.java:373:in evalBlockBody' from InterpretedBlock.java:346:inyield'
from InterpretedBlock.java:303:in yield' from Block.java:194:inyield'
from tar_reader.rb:63:in block_0$RUBY$__block__' from null:65535:incall'
from CompiledBlock.java:115:in yield' from CompiledBlock.java:98:inyield'
from Block.java:194:in yield' from RubyKernel.java:1251:inloop_1_9'
from org/jruby/RubyKernel$s_method_0_0$RUBYFRAMEDINVOKER$loop_1_9.gen:65535:in call' from CachingCallSite.java:115:incallBlock'
from CachingCallSite.java:132:in callIter' from tar_reader.rb:54:infile'
from tar_reader.rb:-1:in __file__' from JittedMethod.java:136:incall'
from CachingCallSite.java:115:in callBlock' from CachingCallSite.java:122:incall'
from CallNoArgBlockNode.java:64:in interpret' from NewlineNode.java:104:ininterpret'
from BlockNode.java:71:in interpret' from InterpretedMethod.java:242:incall'
from DefaultMethod.java:201:in call' from CachingCallSite.java:195:incallBlock'
from CachingCallSite.java:202:in call' from RubyClass.java:819:incall'
from DynamicMethod.java:194:in call' from WrapperMethod.java:62:incall'
from CachingCallSite.java:186:in call' from tar_input.rb:17:inensure_1$RUBY$**ensure___0'
from tar_input.rb:-1:in __file**' from tar_input.rb:-1:in file'
from AbstractScript.java:43:in**file**' from JittedMethod.java:204:in call'
from CachingCallSite.java:195:incallBlock' from CachingCallSite.java:202:in call'
from package.rb:55:in**file**' from package.rb:-1:in file'
from AbstractScript.java:47:in**file**' from JittedMethod.java:238:in call'
from CachingCallSite.java:235:incallBlock' from CachingCallSite.java:252:in callIter'
from format.rb:63:in**file**' from format.rb:-1:in file'
from AbstractScript.java:47:in**file**' from JittedMethod.java:221:in call'
from CachingCallSite.java:226:incall' from format.rb:51:in block_0$RUBY$block'
from null:65535:incall' from CompiledBlock.java:115:in yield'
from CompiledBlock.java:98:inyield' from Block.java:194:in yield'
from RubyIO.java:1107:inopen' from RubyKernel.java:283:in open'
from org/jruby/RubyKernel$s_method_0_2$RUBYFRAMEDINVOKER$open.gen:65535:incall' from AliasMethod.java:101:in call'
from CachingCallSite.java:75:incallBlock' from CachingCallSite.java:82:in call'
from open-uri.rb:32:in**file**' from open-uri.rb:-1:in file'
from AbstractScript.java:43:in**file**' from JittedMethod.java:204:in call'
from CachingCallSite.java:195:incallBlock' from CachingCallSite.java:212:in callIter'
from format.rb:50:in**file**' from format.rb:-1:in file'
from AbstractScript.java:39:in**file**' from JittedMethod.java:153:in call'
from CachingCallSite.java:146:incall' from source.rb:73:in file'
from source.rb:-1:in**file**' from JittedMethod.java:153:in call'
from CachingCallSite.java:146:incall' from CallOneArgNode.java:57:in interpret'
from IfNode.java:117:ininterpret' from NewlineNode.java:104:in interpret'
from BlockNode.java:71:ininterpret' from InterpretedBlock.java:373:in evalBlockBody'
from InterpretedBlock.java:346:inyield' from InterpretedBlock.java:303:in yield'
from Block.java:194:inyield' from YieldNode.java:112:in interpret'
from NewlineNode.java:104:ininterpret' from InterpretedBlock.java:373:in evalBlockBody'
from InterpretedBlock.java:346:inyield' from InterpretedBlock.java:303:in yield'
from Block.java:194:inyield' from RubyArray.java:1630:in eachCommon'
from RubyArray.java:1637:ineach' from org/jruby/RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each.gen:65535:in call'
from CachingCallSite.java:115:incallBlock' from CachingCallSite.java:122:in call'
from CallNoArgBlockNode.java:64:ininterpret' from NewlineNode.java:104:in interpret'
from InterpretedMethod.java:160:incall' from DefaultMethod.java:166:in call'
from CachingCallSite.java:299:incacheAndCall' from CachingCallSite.java:117:in callBlock'
from CachingCallSite.java:122:incall' from CallNoArgBlockNode.java:64:in interpret'
from NewlineNode.java:104:ininterpret' from BlockNode.java:71:in interpret'
from InterpretedMethod.java:180:incall' from DefaultMethod.java:174:in call'
from CachingCallSite.java:309:incacheAndCall' from CachingCallSite.java:148:in call'
from CallOneArgNode.java:57:ininterpret' from NewlineNode.java:104:in interpret'
from BlockNode.java:71:ininterpret' from InterpretedMethod.java:262:in call'
from DefaultMethod.java:206:incall' from CachingCallSite.java:349:in cacheAndCall'
from CachingCallSite.java:228:incall' from CallThreeArgNode.java:61:in interpret'
from NewlineNode.java:104:ininterpret' from BlockNode.java:71:in interpret'
from RescueNode.java:199:inexecuteBody' from RescueNode.java:118:in interpretWithJavaExceptions'
from RescueNode.java:110:ininterpret' from InterpretedMethod.java:160:in call'
from DefaultMethod.java:166:incall' from RubyClass.java:506:in finvoke'
from RubyObject.java:1437:insend' from org/jruby/RubyObject$i_method_multi$RUBYINVOKER$send.gen:65535:in call'
from JavaMethod.java:266:incall' from CachingCallSite.java:309:in cacheAndCall'
from CachingCallSite.java:148:incall' from CallSpecialArgNode.java:67:in interpret'
from IfNode.java:117:ininterpret' from NewlineNode.java:104:in interpret'
from RescueNode.java:199:inexecuteBody' from RescueNode.java:118:in interpretWithJavaExceptions'
from RescueNode.java:110:ininterpret' from InterpretedMethod.java:221:in call'
from DefaultMethod.java:190:incall' from CachingCallSite.java:329:in cacheAndCall'
from CachingCallSite.java:188:incall' from CallSpecialArgNode.java:69:in interpret'
from NewlineNode.java:104:ininterpret' from BlockNode.java:71:in interpret'
from IfNode.java:119:ininterpret' from NewlineNode.java:104:in interpret'
from BlockNode.java:71:ininterpret' from InterpretedMethod.java:221:in call'
from DefaultMethod.java:190:incall' from CachingCallSite.java:329:in cacheAndCall'
from CachingCallSite.java:188:incall' from CallTwoArgNode.java:59:in interpret'
from NewlineNode.java:104:ininterpret' from BlockNode.java:71:in interpret'
from InterpretedMethod.java:113:incall' from InterpretedMethod.java:127:in call'
from DefaultMethod.java:149:incall' from CachingCallSite.java:279:in cacheAndCall'
from CachingCallSite.java:68:incall' from FCallManyArgsNode.java:60:in interpret'
from NewlineNode.java:104:ininterpret' from BlockNode.java:71:in interpret'
from RescueNode.java:199:inexecuteBody' from RescueNode.java:118:in interpretWithJavaExceptions'
from RescueNode.java:110:ininterpret' from InterpretedMethod.java:139:in call'
from DefaultMethod.java:158:incall' from CachingCallSite.java:289:in cacheAndCall'
from CachingCallSite.java:108:incall' from CallNoArgNode.java:61:in interpret'
from NewlineNode.java:104:ininterpret' from RescueNode.java:199:in executeBody'
from RescueNode.java:118:ininterpretWithJavaExceptions' from RescueNode.java:110:in interpret'
from BeginNode.java:83:ininterpret' from NewlineNode.java:104:in interpret'
from BlockNode.java:71:ininterpret' from RootNode.java:129:in interpret'
from Ruby.java:2551:inloadFile' from ExternalScript.java:61:in load'
from LoadService.java:255:inload' from RubyKernel.java:1010:in loadCommon'
from RubyKernel.java:992:inload' from org/jruby/RubyKernel$s_method_0_1$RUBYFRAMEDINVOKER$load.gen:65535:in call'
from DynamicMethod.java:190:incall' from DynamicMethod.java:186:in call'
from CachingCallSite.java:309:incacheAndCall' from CachingCallSite.java:148:in call'
from bundle:19:in**file**' from bundle:-1:in load'
from Ruby.java:690:inrunScript' from Ruby.java:573:in runNormally'
from Ruby.java:416:inrunFromMain' from Main.java:286:in run'
from Main.java:128:inrun' from Main.java:97:in main'

@jarmo
Copy link
Owner Author

jarmo commented Mar 25, 2011

When you're seeing that problem during installation process then it hasn't nothing to do with require_all gem specifically, but the problem has to be somewhere else - in RubyGems or in JRuby itself. Unfortunately i don't know any solutions for that problem. You could ask from some JRuby mailing list or such.

@milgner
Copy link

milgner commented Mar 25, 2011

You're right, that makes sense. I'm sorry to have bothered you, but thanks for the quick reply!

@jarmo
Copy link
Owner Author

jarmo commented Sep 17, 2013

Closing this since Travis build is passing for many different platforms:
https://travis-ci.org/jarmo/require_all/builds/11477677

@jarmo jarmo closed this as completed Sep 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants