[Mongrel] Error on Solaris

Carl Woodward cjwoodward at gmail.com
Thu Aug 10 03:45:21 EDT 2006


Sorry but I might not be seeing some sort of meta programming hidden
around the place because when I look at the URIClassifier is see none
of the methods that are described in the documentation:

class URIClassifier
    attr_reader :handler_map

    # Returns the URIs that have been registered with this classifier so far.
    # The URIs returned should not be modified as this will cause a memory leak.
    # You can use this to inspect the contents of the URIClassifier.
    def uris
      @handler_map.keys
    end

    # Simply does an inspect that looks like a Hash inspect.
    def inspect
      @handler_map.inspect
    end
  end

I'm confused.

On 8/10/06, Carl Woodward <cjwoodward at gmail.com> wrote:
> Hi everyone, I'm having a problem starting rails on solaris. I have
> made the changes suggested in the joyeur article but it doesn't make
> any difference. The error is below. Does anyone have any idea?
>
> /opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:666:in
> `register': undefined method `resolve' for nil:Mongrel::URIClassifier
> (NoMethodError)
>         from /opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:850:in
> `uri'
>         from /opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:1018:in
> `debug'
>         from /opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:1016:in
> `debug'
>         from /opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:108:in
> `cloaker_'
>         from /opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:832:in
> `listener'
>         from /opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:96:in
> `cloaker_'
>         from /opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel.rb:750:in
> `initialize'
>         from /opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:83:in
> `run'
>         from /opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/mongrel/command.rb:199:in
> `run'
>         from /opt/csw/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/mongrel_rails:235
>         from /opt/csw/bin/mongrel_rails:18
>
> Thanks,
> Carl.
>


-- 
Carl Woodward
0412218979
cjwoodward at gmail.com


More information about the Mongrel-users mailing list