[Mongrel] Fwd: Error on Solaris

Scott Laird scott at sigkill.org
Thu Aug 10 03:56:29 EDT 2006


I believe the usual problem with Mongrel on Solaris is caused by
mixing Sun's C compiler and GCC.  Make sure that Ruby and Mongrel are
compiled with the same compiler.


Scott

On 8/10/06, Carl Woodward <cjwoodward at gmail.com> wrote:
> Sorry guys, I'm an idiot. Its in C.
>
> ---------- Forwarded message ----------
> From: Carl Woodward <cjwoodward at gmail.com>
> Date: Aug 10, 2006 5:45 PM
> Subject: Re: Error on Solaris
> To: mongrel-users at rubyforge.org
>
>
> 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
>
>
> --
> Carl Woodward
> 0412218979
> cjwoodward at gmail.com
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>


More information about the Mongrel-users mailing list