Skip to content

Instantly share code, notes, and snippets.

@taylor
Created November 1, 2011 16:26
Show Gist options
  • Select an option

  • Save taylor/1331008 to your computer and use it in GitHub Desktop.

Select an option

Save taylor/1331008 to your computer and use it in GitHub Desktop.
death to bundle gem list after nokogiri from source install -- 1.5.0.20111101100609
After installing nokogiri from source (1.5.0.20111101100609) I get the following
$> JRUBY_OPTS="--1.9" gem list |grep nokogiri
nokogiri (1.5.0.20111101100609 java)
jruby-1.6.4@mojolingo taylor@lindqvist:(30388/0) ~/work/mojolingo/src/niceogiri
$> JRUBY_OPTS="--1.9" bundle exec gem list |grep nokogiri
StreamReader.java:98:in `checkPrintable': unacceptable character '‹' (0x8B) special characters are not allowed
in "<reader>", position 415
from StreamReader.java:191:in `update'
from StreamReader.java:63:in `<init>'
from PsychParser.java:106:in `parse'
from PsychParser$i$1$0$parse.gen:65535:in `call'
from CachingCallSite.java:167:in `call'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:179:in `call'
from CachingCallSite.java:167:in `call'
from FCallOneArgNode.java:36:in `interpret'
from CallNoArgNode.java:63:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:179:in `call'
from CachingCallSite.java:167:in `call'
from FCallOneArgNode.java:36:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:179:in `call'
from CachingCallSite.java:167: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 ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:179:in `call'
from CachingCallSite.java:167:in `call'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:104:in `interpret'
from RescueNode.java:216:in `executeBody'
from RescueNode.java:120: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 ASTInterpreter.java:112:in `INTERPRET_BLOCK'
from Interpreted19Block.java:203:in `evalBlockBody'
from Interpreted19Block.java:154:in `yield'
from Block.java:130:in `yield'
from RubyDir.java:335:in `chdir'
from RubyDir$s$0$1$chdir.gen:65535:in `call'
from DynamicMethod.java:211:in `call'
from CachingCallSite.java:176:in `callBlock'
from CachingCallSite.java:187:in `callIter'
from CallOneArgBlockNode.java:60:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:179:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from CallOneArgNode.java:57:in `interpret'
from DAsgnNode.java:110:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:112:in `INTERPRET_BLOCK'
from Interpreted19Block.java:203:in `evalBlockBody'
from Interpreted19Block.java:154:in `yield'
from Block.java:130:in `yield'
from RubyArray.java:1596:in `eachCommon'
from RubyArray.java:1603:in `each'
from RubyArray$i$0$0$each.gen:65535:in `call'
from CachingCallSite.java:302:in `cacheAndCall'
from CachingCallSite.java:144:in `callBlock'
from CachingCallSite.java:153:in `callIter'
from CallNoArgBlockNode.java:64:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from IfNode.java:117:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:147:in `call'
from DefaultMethod.java:163:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from VCallNode.java:86:in `interpret'
from InstAsgnNode.java:95:in `interpret'
from OpAsgnOrNode.java:100:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:147:in `call'
from DefaultMethod.java:163:in `call'
from AliasMethod.java:56:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from CallNoArgNode.java:63:in `interpret'
from CallOneArgNode.java:57:in `interpret'
from CallNoArgNode.java:63:in `interpret'
from DAsgnNode.java:110:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from IfNode.java:117:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:112:in `INTERPRET_BLOCK'
from Interpreted19Block.java:203:in `evalBlockBody'
from Interpreted19Block.java:154:in `yield'
from Block.java:130:in `yield'
from RubyArray.java:1596:in `eachCommon'
from RubyArray.java:1603:in `each'
from RubyArray$i$0$0$each.gen:65535:in `call'
from RubyClass.java:523:in `finvoke'
from RubyBasicObject.java:1685:in `send19'
from RubyBasicObject$i$send19.gen:65535:in `call'
from CachingCallSite.java:176:in `callBlock'
from CachingCallSite.java:182:in `call'
from CallSpecialArgBlockPassNode.java:64:in `interpret'
from NewlineNode.java:104:in `interpret'
from RescueNode.java:216:in `executeBody'
from RescueNode.java:120:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from BeginNode.java:83:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:169:in `call'
from DefaultMethod.java:171:in `call'
from CachingCallSite.java:302:in `cacheAndCall'
from CachingCallSite.java:144:in `callBlock'
from CachingCallSite.java:153:in `callIter'
from CallNoArgBlockNode.java:64:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:147:in `call'
from DefaultMethod.java:163:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from VCallNode.java:86:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from IfNode.java:119:in `interpret'
from NewlineNode.java:104:in `interpret'
from BeginNode.java:83:in `interpret'
from InstAsgnNode.java:95:in `interpret'
from OpAsgnOrNode.java:100:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:147:in `call'
from DefaultMethod.java:163:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from VCallNode.java:86:in `interpret'
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 BeginNode.java:83:in `interpret'
from InstAsgnNode.java:95:in `interpret'
from OpAsgnOrNode.java:100:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:147:in `call'
from DefaultMethod.java:163:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from VCallNode.java:86:in `interpret'
from CallOneArgNode.java:57:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:190:in `call'
from DefaultMethod.java:179:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from FCallOneArgNode.java:36:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from BeginNode.java:83:in `interpret'
from InstAsgnNode.java:95:in `interpret'
from OpAsgnOrNode.java:100:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:147:in `call'
from DefaultMethod.java:163:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from CallNoArgNode.java:63:in `interpret'
from NewlineNode.java:104:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:147:in `call'
from DefaultMethod.java:163:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from VCallNode.java:86:in `interpret'
from IfNode.java:119:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:147:in `call'
from DefaultMethod.java:163:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from CallNoArgNode.java:63:in `interpret'
from InstAsgnNode.java:95:in `interpret'
from NewlineNode.java:104:in `interpret'
from IfNode.java:117:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:147:in `call'
from DefaultMethod.java:163:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from CallNoArgNode.java:63:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:255:in `call'
from DefaultMethod.java:203:in `call'
from RubyClass.java:582:in `finvoke'
from RubyBasicObject.java:1697:in `send19'
from RubyKernel.java:2121:in `send19'
from RubyKernel$s$send19.gen:65535:in `call'
from JavaMethod.java:300:in `call'
from CachingCallSite.java:352:in `cacheAndCall'
from CachingCallSite.java:237:in `call'
from CallSpecialArgNode.java:71:in `interpret'
from IfNode.java:117:in `interpret'
from NewlineNode.java:104:in `interpret'
from RescueNode.java:216:in `executeBody'
from RescueNode.java:120:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:233:in `call'
from DefaultMethod.java:195:in `call'
from CachingCallSite.java:332:in `cacheAndCall'
from CachingCallSite.java:203:in `call'
from CallSpecialArgNode.java:69:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from IfNode.java:119:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:233:in `call'
from DefaultMethod.java:195:in `call'
from CachingCallSite.java:332:in `cacheAndCall'
from CachingCallSite.java:203:in `call'
from CallTwoArgNode.java:59:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:120:in `call'
from InterpretedMethod.java:134:in `call'
from DefaultMethod.java:154:in `call'
from CachingCallSite.java:282:in `cacheAndCall'
from CachingCallSite.java:71:in `call'
from FCallManyArgsNode.java:60:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from RescueNode.java:216:in `executeBody'
from RescueNode.java:120:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from ASTInterpreter.java:75:in `INTERPRET_METHOD'
from InterpretedMethod.java:147:in `call'
from DefaultMethod.java:163:in `call'
from CachingCallSite.java:292:in `cacheAndCall'
from CachingCallSite.java:135:in `call'
from CallNoArgNode.java:63:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from RescueNode.java:216:in `executeBody'
from RescueNode.java:120:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from BeginNode.java:83:in `interpret'
from NewlineNode.java:104:in `interpret'
from RootNode.java:129:in `interpret'
from ASTInterpreter.java:120:in `INTERPRET_ROOT'
from Ruby.java:706:in `runInterpreter'
from Ruby.java:2446:in `loadFile'
from ExternalScript.java:66:in `load'
from LoadService.java:272:in `load'
from RubyKernel.java:1081:in `loadCommon'
from RubyKernel.java:1073:in `load19'
from RubyKernel$s$0$1$load19.gen:65535:in `call'
from DynamicMethod.java:211:in `call'
from DynamicMethod.java:207:in `call'
from CachingCallSite.java:312:in `cacheAndCall'
from CachingCallSite.java:169:in `call'
from /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo/bin/bundle:19:in `__file__'
from /Users/taylor/sw/depot/rvm/gems/jruby-1.6.4@mojolingo/bin/bundle:-1:in `load'
from Ruby.java:679:in `runScript'
from Ruby.java:672:in `runScript'
from Ruby.java:579:in `runNormally'
from Ruby.java:428:in `runFromMain'
from Main.java:278:in `doRunFromMain'
from Main.java:198:in `internalRun'
from Main.java:164:in `run'
from Main.java:148:in `run'
from Main.java:128:in `main'
@taylor

taylor commented Nov 1, 2011

Copy link
Copy Markdown
Author

$> JRUBY_OPTS="--1.9" ruby --version
jruby 1.6.4 (ruby-1.9.2-p136) (2011-08-23 17ea768) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [darwin-x86_64-java]

@taylor

taylor commented Nov 1, 2011

Copy link
Copy Markdown
Author

same error for jruby 1.6.5

@taylor

taylor commented Nov 1, 2011

Copy link
Copy Markdown
Author

jruby-1.6.5@mojolingo taylor@lindqvist:(31701/0) ~/work/mojolingo/src/nokogiri
$> ruby --version
jruby 1.6.5 (ruby-1.9.2-p136) (2011-10-25 9dcd388) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [darwin-x86_64-java]

@taylor

taylor commented Nov 1, 2011

Copy link
Copy Markdown
Author

jruby-1.6.5@mojolingo taylor@lindqvist:(31696/0) ~/work/mojolingo/src/nokogiri
$> JRUBY_OPTS="--1.9" bundle exec gem build nokogiri.gemspec
Invalid gemspec in [/Users/taylor/sw/depot/rvm/gems/jruby-1.6.5@global/specifications/gem-ctags-1.0.2.gemspec]: invalid date format in specification: "2011-08-23 00:00:00.000000000Z"
Successfully built RubyGem
Name: nokogiri
Version: 1.5.0.20111101100609
File: nokogiri-1.5.0.20111101100609-java.gem

@taylor

taylor commented Nov 1, 2011

Copy link
Copy Markdown
Author

jruby-1.6.5@mojolingo taylor@lindqvist:(30405/0) ~/work/mojolingo/src/niceogiri
$> JRUBY_OPTS="--1.9" bundle exec gem install ../nokogiri/nokogiri-1.5.0.20111101100609-java-1.6.5.gem
StreamReader.java:98:in checkPrintable': unacceptable character '�' (0x8B) special characters are not allowed in "<reader>", position 415 from StreamReader.java:191:inupdate'
from StreamReader.java:63:in <init>' from PsychParser.java:106:inparse'
from PsychParser$i$1$0$parse.gen:65535:in `call'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment