[Mongrel] error when installing on jruby (fastthread dependency)

Stephen Bannasch stephen.bannasch at deanbrook.org
Sat Dec 22 23:01:29 EST 2007


At 7:53 PM -0300 12/22/07, Luis Lavena wrote:
>could you try running the gem build based on the generated gemspec file?
>(it should be inside pkg/mongrel-1.1.1)

I get the same yaml error:

[~/dev/rails/external/mongrel/pkg/mongrel-1.1.2]$ gem build mongrel.gemspec
WARNING:  no email specified
WARNING:  no homepage specified
WARNING:  bin/mongrel_rails is missing #! line
ERROR:  While executing gem ... (TypeError)
    can't convert YAML::JvYAML::Map into String

Here's the gemspec file:

file: pkg/mongrel-1.1.2/mongrel.gemspec

# Gem::Specification for Mongrel-1.1.2
# Originally generated by Echoe

Gem::Specification.new do |s|
  s.name = %q{mongrel}
  s.version = "1.1.2"
  s.platform = %q{java}

  s.specification_version = 2 if s.respond_to? :specification_version=

  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  s.authors = ["Zed A. Shaw"]
  s.date = %q{2007-12-22}
  s.default_executable = %q{mongrel_rails}
  s.description = %q{A small fast HTTP library and server that runs Rails, Camping, Nitro and Iowa apps.}
  s.email = %q{}
  s.executables = ["mongrel_rails"]
  s.has_rdoc = true
  s.homepage = %q{}
  s.require_paths = ["lib", "ext"]
  s.required_ruby_version = Gem::Requirement.new(">= 1.8.4")
  s.rubyforge_project = %q{mongrel}
  s.rubygems_version = %q{1.0.0}
  s.summary = %q{A small fast HTTP library and server that runs Rails, Camping, Nitro and Iowa apps.}
  s.test_files = ["test/test_cgi_wrapper.rb", "test/test_command.rb", "test/test_conditional.rb", "test/test_configurator.rb", "test/test_debug.rb", "test/test_handlers.rb", "test/test_http11.rb", "test/test_redirect_handler.rb", "test/test_request_progress.rb", "test/test_response.rb", "test/test_stats.rb", "test/test_uriclassifier.rb", "test/test_ws.rb"]

  s.add_dependency(%q<gem_plugin>, [">= 0.2.3"])
end



>Maybe is failing in the Gem::Specification#to_yaml
>(I don't have jruby to test it).
>
>Regards,
>
>--
>Luis Lavena
>Multimedia systems
>-
>A common mistake that people make when trying to design
>something completely foolproof is to underestimate
>the ingenuity of complete fools.
>Douglas Adams
>_______________________________________________
>Mongrel-users mailing list
>Mongrel-users at rubyforge.org
>http://rubyforge.org/mailman/listinfo/mongrel-users



More information about the Mongrel-users mailing list