tenderlove/nokogiri — Issue #631: 1.5.1 broke Heroku deployment
Author: agoln
Created: 2012-03-09 06:20:40+00:00
State: open

When attempting to deploy 1.5.1 to Heroku bamboo, the following error crashes on deployment:

2012-03-09T06:15:24+00:00 app[web.1]: WARNING: # 0.8.0"]>
2012-03-09T06:15:24+00:00 app[web.1]: # -*- encoding: utf-8 -*-
2012-03-09T06:15:24+00:00 app[web.1]:
2012-03-09T06:15:24+00:00 app[web.1]: Gem::Specification.new do |s|
2012-03-09T06:15:24+00:00 app[web.1]: s.name = %q{nokogiri}
2012-03-09T06:15:24+00:00 app[web.1]: s.version = "1.5.1"
2012-03-09T06:15:24+00:00 app[web.1]:
2012-03-09T06:15:24+00:00 app[web.1]: s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
2012-03-09T06:15:24+00:00 app[web.1]: s.authors = ["Aaron Patterson", "Mike Dalessio", "Yoko Harada"]
2012-03-09T06:15:24+00:00 app[web.1]: s.date = %q{2012-03-09}
2012-03-09T06:15:24+00:00 app[web.1]: s.default_executable = %q{nokogiri}
2012-03-09T06:15:24+00:00 app[web.1]: s.description = %q{Nokogiri (Θï╕) is an HTML, XML, SAX, and Reader parser. Among Nokogiri's
2012-03-09T06:15:24+00:00 app[web.1]: many features is the ability to search documents via XPath or CSS3 selectors.
2012-03-09T06:15:24+00:00 app[web.1]:
2012-03-09T06:15:24+00:00 app[web.1]: XML is like violence - if it doesnΓÇÖt solve your problems, you are not using
2012-03-09T06:15:24+00:00 app[web.1]: enough of it.}
2012-03-09T06:15:24+00:00 app[web.1]: s.email = ["aaronp@rubyforge.org", "mike.dalessio@gmail.com", "yokolet@gmail.com"]
2012-03-09T06:15:24+00:00 app[web.1]: s.executables = ["nokogiri"]
2012-03-09T06:15:24+00:00 app[web.1]: s.extensions = ["ext/nokogiri/extconf.rb"]
2012-03-09T06:15:24+00:00 app[web.1]: s.extra_rdoc_files = ["Manifest.txt", "CHANGELOG.ja.rdoc", "README.ja.rdoc", "README.rdoc", "C_CODING_STYLE.rdoc", "CHAN
GELOG.rdoc", "ext/nokogiri/xml_encoding_handler.c", "ext/nokogiri/html_sax_push_parser.c", "ext/nokogiri/xml_processing_instruction.c", "ext/nokogiri/xml_text.c
", "ext/nokogiri/xml_entity_reference.c", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/nokogiri.c", "ext/nokogiri/xml_node.c", "ext/nokogiri/xml_attr.c", "ext/n
okogiri/xml_reader.c", "ext/nokogiri/xml_entity_decl.c", "ext/nokogiri/xml_element_decl.c", "ext/nokogiri/html_element_description.c", "ext/nokogiri/xslt_styles
heet.c", "ext/nokogiri/xml_syntax_error.c", "ext/nokogiri/xml_document.c", "ext/nokogiri/xml_dtd.c", "ext/nokogiri/xml_cdata.c", "ext/nokogiri/xml_sax_parser.c"
, "ext/nokogiri/xml_comment.c", "ext/nokogiri/xml_node_set.c", "ext/nokogiri/xml_xpath_context.c", "ext/nokogiri/html_entity_lookup.c", "ext/nokogiri/xml_sax_pu
sh_parser.c", "ext/nokogiri/xml_sax_parser_context.c", "ext/nokogiri/xml_io.c", "ext/nokogiri/xml_lib
2012-03-09T06:15:24+00:00 app[web.1]: xml2_hacks.c", "ext/nokogiri/html_document.c", "ext/nokogiri/xml_attribute_decl.c", "ext/nokogiri/xml_document_fragment.c"
, "ext/nokogiri/xml_schema.c", "ext/nokogiri/xml_element_content.c", "ext/nokogiri/html_sax_parser_context.c", "ext/nokogiri/xml_namespace.c"]
2012-03-09T06:15:24+00:00 app[web.1]: s.files = [".autotest", ".gemtest", "CHANGELOG.ja.rdoc", "CHANGELOG.rdoc", "Manifest.txt", "README.ja.rdoc", "README.rdo
c", "Rakefile", "bin/nokogiri", "ext/nokogiri/depend", "ext/nokogiri/extconf.rb", "ext/nokogiri/html_document.c", "ext/nokogiri/html_document.h", "ext/nokogiri/
html_element_description.c", "ext/nokogiri/html_element_description.h", "ext/nokogiri/html_entity_lookup.c", "ext/nokogiri/html_entity_lookup.h", "ext/nokogiri/
html_sax_parser_context.c", "ext/nokogiri/html_sax_parser_context.h", "ext/nokogiri/html_sax_push_parser.c", "ext/nokogiri/html_sax_push_parser.h", "ext/nokogir
i/nokogiri.c", "ext/nokogiri/nokogiri.h", "ext/nokogiri/xml_attr.c", "ext/nokogiri/xml_attr.h", "ext/nokogiri/xml_attribute_decl.c", "ext/nokogiri/xml_attribute
_decl.h", "ext/nokogiri/xml_cdata.c", "ext/nokogiri/xml_cdata.h", "ext/nokogiri/xml_comment.c", "ext/nokogiri/xml_comment.h", "ext/nokogiri/xml_document.c", "ex
t/nokogiri/xml_document.h", "ext/nokogiri/xml_document_fragment.c", "ext/nokogiri/xml_document_fragme
2012-03-09T06:15:24+00:00 app[web.1]: nt.h", "ext/nokogiri/xml_dtd.c", "ext/nokogiri/xml_dtd.h", "ext/nokogiri/xml_element_content.c", "ext/nokogiri/xml_element
_content.h", "ext/nokogiri/xml_element_decl.c", "ext/nokogiri/xml_element_decl.h", "ext/nokogiri/xml_encoding_handler.c", "ext/nokogiri/xml_encoding_handler.h",
"ext/nokogiri/xml_entity_decl.c", "ext/nokogiri/xml_entity_decl.h", "ext/nokogiri/xml_entity_reference.c", "ext/nokogiri/xml_entity_reference.h", "ext/nokogiri
/xml_io.c", "ext/nokogiri/xml_io.h", "ext/nokogiri/xml_libxml2_hacks.c", "ext/nokogiri/xml_libxml2_hacks.h", "ext/nokogiri/xml_namespace.c", "ext/nokogiri/xml_n
amespace.h", "ext/nokogiri/xml_node.c", "ext/nokogiri/xml_node.h", "ext/nokogiri/xml_node_set.c", "ext/nokogiri/xml_node_set.h", "ext/nokogiri/xml_processing_in
struction.c", "ext/nokogiri/xml_processing_instruction.h", "ext/nokogiri/xml_reader.c", "ext/nokogiri/xml_reader.h", "ext/nokogiri/xml_relax_ng.c", "ext/nokogir
i/xml_relax_ng.h", "ext/nokogiri/xml_sax_parser.c", "ext/nokogiri/xml_sax_parser.h", "ext/nokogiri/xm
2012-03-09T06:15:24+00:00 app[web.1]: l_sax_parser_context.c", "ext/nokogiri/xml_sax_parser_context.h", "ext/nokogiri/xml_sax_push_parser.c", "ext/nokogiri/xml_
sax_push_parser.h", "ext/nokogiri/xml_schema.c", "ext/nokogiri/xml_schema.h", "ext/nokogiri/xml_syntax_error.c", "ext/nokogiri/xml_syntax_error.h", "ext/nokogir
i/xml_text.c", "ext/nokogiri/xml_text.h", "ext/nokogiri/xml_xpath_
context.c", "ext/nokogiri/xml_xpath_context.h", "ext/nokogiri/xslt_stylesheet.c", "ext/nokogiri/xslt_stylesheet.h", "lib/nokogiri.rb", "lib/nokogiri/css.rb", "l
ib/nokogiri/css/node.rb", "lib/nokogiri/css/parser.rb", "lib/nokogiri/css/parser.y", "lib/nokogiri/css/parser_extras.rb", "lib/nokogiri/css/syntax_error.rb", "l
ib/nokogiri/css/tokenizer.rb", "lib/nokogiri/css/tokenizer.rex", "lib/nokogiri/css/xpath_visitor.rb", "lib/nokogiri/decorators/slop.rb", "lib/nokogiri/html.rb",
"lib/nokogiri/html/builder.rb", "lib/nokogiri/html/document.rb", "lib/nokogiri/html/document_fragment.rb", "lib/nokogiri/html/element_description.rb", "lib/nok
ogiri/html/element_description_defa
2012-03-09T06:15:24+00:00 app[web.1]: ults.rb", "lib/nokogiri/html/entity_lookup.rb", "lib/nokogiri/html/sax/parser.rb", "lib/nokogiri/html/sax/parser_context.r
b", "lib/nokogiri/html/sax/push_parser.rb", "lib/nokogiri/syntax_error.rb", "lib/nokogiri/version.rb", "lib/nokogiri/xml.rb", "lib/nokogiri/xml/attr.rb", "lib/n
okogiri/xml/attribute_decl.rb", "lib/nokogiri/xml/builder.rb", "lib/nokogiri/xml/cdata.rb", "lib/nokogiri/xml/character_data.rb", "lib/nokogiri/xml/document.rb"
, "lib/nokogiri/xml/document_fragment.rb", "lib/nokogiri/xml/dtd.rb", "lib/nokogiri/xml/element_content.rb", "lib/nokogiri/xml/element_decl.rb", "lib/nokogiri/x
ml/entity_decl.rb", "lib/nokogiri/xml/namespace.rb", "lib/nokogiri/xml/node.rb", "lib/nokogiri/xml/node/save_options.rb", "lib/nokog
iri/xml/node_set.rb", "lib/nokogiri/xml/notation.rb", "lib/nokogiri/xml/parse_options.rb", "lib/nokogiri/xml/pp.rb", "lib/nokogiri/xml/pp/character_data.rb", "l
ib/nokogiri/xml/pp/node.rb", "lib/nokogiri/xml/processing_instruction.rb", "lib/nokogiri/xml/reader.rb", "lib/nokogiri/xml/relax_
2012-03-09T06:15:24+00:00 app[web.1]: ng.rb", "lib/nokogiri/xml/sax.rb", "lib/nokogiri/xml/sax/document.rb", "lib/nokogiri/xml/sax/parser.rb", "lib/nokogiri/xml
/sax/parser_context.rb", "lib/nokogiri/xml/sax/push_parser.rb", "lib/nokogiri/xml/schema.rb", "lib/nokogiri/xml/syntax_error.rb", "lib/nokogiri/xml/text.rb", "l
ib/nokogiri/xml/xpath.rb", "lib/nokogiri/xml/xpath/syntax_error.rb", "lib/nokogiri/xml/xpath_context.rb", "lib/nokogiri/xslt.rb", "lib/nokogiri/xslt/stylesheet.
rb", "lib/xsd/xmlparser/nokogiri.rb", "nokogiri_help_responses.md", "tasks/cross_compile.rb", "tasks/nokogiri.org.rb", "tasks/test.rb", "test/css/test_nthiness.
rb", "test/css/test_parser.rb", "test/css/test_tokenizer.rb", "test/css/test_xpath_visitor.rb", "test/decorators/test_slop.rb", "test/files/2ch.html", "test/fil
es/address_book.rlx", "test/files/address_book.xml", "test/files/bar/bar.xsd", "test/files/dont_hurt_em_why.xml", "test/files/encoding.html", "test/files/encodi
ng.xhtml", "test/files/exslt.xml", "test/files/exslt.xslt", "test/files/foo/foo.xsd", "test/files/met
2012-03-09T06:15:24+00:00 app[web.1]: acharset.html", "test/files/noencoding.html", "test/files/po.xml", "test/files/po.xsd", "test/files/shift_jis.html", "test
/files/shift_jis.xml", "test/files/snuggles.xml", "test/files/staff.dtd", "test/files/staff.xml", "test/files/staff.xslt", "test/files/tlm.html", "test/files/va
lid_bar.xml", "test/helper.rb", "test/html/sax/test_parser.rb", "test/html/sax/test_parser_context.rb", "test/html/test_builder.rb", "test/html/test_document.rb
", "test/html/test_document_encoding.rb", "test/html/test_document_fragment.rb", "test/html/test_element_description.rb", "test/html/test_named_characters.rb",
"test/html/test_node.rb", "test/html/test_node_encoding.rb", "test/test_convert_xpath.rb", "test/test_css_cache.rb", "test/test_encoding_handler.rb", "test/test
_memory_leak.rb", "test/test_nokogiri.rb", "test/test_reader.rb", "test/test_soap4r_sax.rb", "test/test_xslt_transforms.rb", "test/xml/node/test_save_options.rb
", "test/xml/node/test_subclass.rb", "test/xml/sax/test_parser.rb", "test/xml/sax/test_parser_context
2012-03-09T06:15:24+00:00 app[web.1]: .rb", "test/xml/sax/test_push_parser.rb", "test/xml/test_attr.rb", "test/xml/test_attribute_decl.rb", "test/xml/test_build
er.rb", "test/xml/test_cdata.rb", "test/xml/test_comment.rb", "test/xml/test_document.rb", "test/xml/test_document_encoding.rb", "test/xml/test_document_fragmen
t.rb", "test/xml/test_dtd.rb", "test/xml/test_dtd_encoding.rb", "test/xml/test_element_content.rb", "test/xml/test_element_decl.rb", "test/xml/test_entity_decl.
rb", "test/xml/test_entity_reference.rb", "test/xml/test_namespace.rb", "test/xml/test_node.rb", "test/xml/test_node_attributes.rb", "test/xml/test_node_encodin
g.rb", "test/xml/test_node_reparenting.rb", "test/xml/test_node_set.rb", "test/xml/test_node_inheritance.rb", "test/xml/test_parse_options.rb", "test/xml/test_p
rocessing_instruction.rb", "test/xml/test_reader_encoding.rb", "test/xml/test_relax_ng.rb", "test/xml/test_schema.rb", "test/xml/test_syntax_error.rb", "test/xm
l/test_text.rb", "test/xml/test_unparented_node.rb", "test/xml/test_xpath.rb", "test/xslt/test_custom
2012-03-09T06:15:24+00:00 app[web.1]: _functions.rb", "test/xslt/test_exception_handling.rb", "test/xml/test_c14n.rb", "test/xml/test_xinclude.rb", "C_CODING_ST
YLE.rdoc"]
2012-03-09T06:15:24+00:00 app[web.1]: s.homepage = %q{http://nokogiri.org}
2012-03-09T06:15:24+00:00 app[web.1]: s.rdoc_options = ["--main", "README.rdoc"]
2012-03-09T06:15:24+00:00 app[web.1]: s.require_paths = ["lib"]
2012-03-09T06:15:24+00:00 app[web.1]: s.required_ruby_version = Gem::Requirement.new(">= 1.8.7")
2012-03-09T06:15:24+00:00 app[web.1]: s.rubyforge_project = %q{nokogiri}
2012-03-09T06:15:24+00:00 app[web.1]: s.rubygems_version = %q{1.3.7}
2012-03-09T06:15:24+00:00 app[web.1]: s.summary = %q{Nokogiri (Θï╕) is an HTML, XML, SAX, and Reader parser}
2012-03-09T06:15:24+00:00 app[web.1]: s.test_files = ["test/test_nokogiri.rb", "test/css/test_tokenizer.rb", "test/css/test_xpath_visitor.rb", "test/css/test_
nthiness.rb", "test/css/test_parser.rb", "test/xml/test_dtd_encoding.rb", "test/xml/test_document_encoding.rb", "test/xml/test_node_inheritance.rb", "test/xml/t
est_entity_decl.rb", "test/xml/test_node_reparenting.rb", "test/xml/sax/test_parser_context.rb", "test/xml/sax/test_push_parser.rb", "test/xml/sax/test_parser.r
b", "test/xml/test_attr.rb", "test/xml/test_cdata.rb", "test/xml/test_document.rb", "test/xml/test_node_encoding.rb", "test/xml/test_document_fragment.rb", "tes
t/xml/test_c14n.rb", "test/xml/test_dtd.rb", "test/xml/test_node.rb", "test/xml/test_comment.rb", "test/xml/test_text.rb", "test/xml/node/test_save_options.rb",
"test/xml/node/test_subclass.rb", "test/xml/test_schema.rb", "test/xml/test_node_attributes.rb", "test/xml/test_namespace.rb", "test/xml/test_attribute_decl.rb
", "test/xml/test_xpath.rb", "test/xml/test_processing_instruction.rb", "test/xml/test_reader_encodin
2012-03-09T06:15:24+00:00 app[web.1]: g.rb", "test/xml/test_element_decl.rb", "test/xml/test_builder.rb", "test/xml/test_node_set.rb", "test/xml/test_syntax_err
or.rb", "test/xml/test_parse_options.rb", "test/xml/test_xinclude.rb", "test/xml/test_element_content.rb", "test/xml/test_unparented_node.rb", "test/xml/test_en
tity_reference.rb", "test/xml/test_relax_ng.rb", "test/test_xslt_transforms.rb", "test/test_memory_leak.rb", "test/test_css_cache.rb", "test/decorators/test_slo
p.rb", "test/test_soap4r_sax.rb", "test/test_encoding_handler.rb", "test/html/test_document_encoding.rb", "test/html/test_named_characters.rb", "test/html/sax/t
est_parser_context.rb", "test/html/sax/test_parser.rb", "test/html/test_document.rb", "test/html/test_node_encoding.rb", "test/html/test_document_fragment.rb",
"test/html/test_node.rb", "test/html/test_element_description.rb", "test/html/test_builder.rb", "test/xslt/test_exception_handling.rb", "test/xslt/test_custom_f
unctions.rb", "test/test_reader.rb", "test/test_convert_xpath.rb"]
2012-03-09T06:15:24+00:00 app[web.1]:
2012-03-09T06:15:24+00:00 app[web.1]: if s.respond_to? :specification_version then
2012-03-09T06:15:24+00:00 app[web.1]: current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
2012-03-09T06:15:24+00:00 app[web.1]: s.specification_version = 3
2012-03-09T06:15:24+00:00 app[web.1]:
2012-03-09T06:15:24+00:00 app[web.1]: if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
2012-03-09T06:15:24+00:00 app[web.1]: s.add_development_dependency(%q, [">= 1.1"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_development_dependency(%q, [">= 1.0.3"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_development_dependency(%q, [">= 1.0"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_development_dependency(%q, [">= 1.4"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_development_dependency(%q, [">= 0.2.2"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_development_dependency(%q, ["~> 2.2.2"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_development_dependency(%q, [">= 1.4.6"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_development_dependency(%q, ["# 0.8.0"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_development_dependency(%q, [">= 1.0.5"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_development_dependency(%q, ["~> 3.10"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_development_dependency(%q, ["~> 2.13"])
2012-03-09T06:15:24+00:00 app[web.1]: else
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 1.1"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 1.0.3"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 1.0"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 1.4"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 0.2.2"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, ["~> 2.2.2"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 1.4.6"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, ["# 0.8.0"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 1.0.5"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, ["~> 3.10"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, ["~> 2.13"])
2012-03-09T06:15:24+00:00 app[web.1]: end
2012-03-09T06:15:24+00:00 app[web.1]: else
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 1.1"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 1.0.3"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 1.0"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 1.4"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 0.2.2"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, ["~> 2.2.2"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 1.4.6"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, ["# 0.8.0"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, [">= 1.0.5"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, ["~> 3.10"])
2012-03-09T06:15:24+00:00 app[web.1]: s.add_dependency(%q, ["~> 2.13"])
2012-03-09T06:15:24+00:00 app[web.1]: end
2012-03-09T06:15:24+00:00 app[web.1]: end
2012-03-09T06:15:24+00:00 app[web.1]: WARNING: Invalid .gemspec format in '/app/.bundle/gems/ruby/1.9.1/specifications/nokogiri-1.5.1.gemspec'
2012-03-09T06:15:24+00:00 app[web.1]: WARNING: # 0.8.0"]>
2012-03-09T06:15:24+00:00 app[web.1]: # -*- encoding: utf-8 -*-