Hello, I''m trying to get a new application running with mongrel. I''ve been running a number of applications already using it and it''s been working fine, however now I can''t get mongrel to start. The only difference I can think of is that I''m using postgresql for this and not mysql. However, I am able to run the application using webrick. When I try to start it with mongrel, I get the following error: /usr/local/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 /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/ mongrel.rb:850:in `uri'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:112:in `cloaker_'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/ mongrel.rb:832:in `listener'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:96:in `cloaker_'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/ mongrel.rb:750:in `initialize'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:83:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/lib/ mongrel/command.rb:199:in `run'' from /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.3/bin/ mongrel_rails:235 from /usr/local/bin/mongrel_rails:18 I tried to go over my setup for any dumb slip that I could have made but I couldn''t find any (although, I''m still betting it is something I did). Any ideas as to what the problem could be? Thanks, Carl
On Mon, 2006-08-07 at 19:46 -0700, Carl Lerche wrote:> Hello, > > I''m trying to get a new application running with mongrel. I''ve been > running a number of applications already using it and it''s been > working fine, however now I can''t get mongrel to start. The only > difference I can think of is that I''m using postgresql for this and > not mysql. However, I am able to run the application using webrick. > When I try to start it with mongrel, I get the following error:You''re on Debian, you don''t have all the build tools installed, so Mongrle didn''t build right. Search the mailing list to see the solution. It''s really common. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need Mongrel support?
Zed, Thanks for the reply, but I''m not on Debian. I''m on FreeBSD 5.4- RELEASE (GENERIC). Also, I have exactly the same OS & setup as 3 other servers I manage and installed mongrel the same way as all the others. So, the problem is that mongrel didn''t compile right? Should I try an uninstall / reinstall? Thanks, -carl On Aug 7, 2006, at 8:09 PM, Zed Shaw wrote:> On Mon, 2006-08-07 at 19:46 -0700, Carl Lerche wrote: >> Hello, >> >> I''m trying to get a new application running with mongrel. I''ve been >> running a number of applications already using it and it''s been >> working fine, however now I can''t get mongrel to start. The only >> difference I can think of is that I''m using postgresql for this and >> not mysql. However, I am able to run the application using webrick. >> When I try to start it with mongrel, I get the following error: > > You''re on Debian, you don''t have all the build tools installed, so > Mongrle didn''t build right. > > Search the mailing list to see the solution. It''s really common. > > > -- > Zed A. Shaw > http://www.zedshaw.com/ > http://mongrel.rubyforge.org/ > http://www.railsmachine.com/ -- Need Mongrel support? > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users
On Mon, 2006-08-07 at 20:22 -0700, Carl Lerche wrote:> Zed, > > Thanks for the reply, but I''m not on Debian. I''m on FreeBSD 5.4- > RELEASE (GENERIC). Also, I have exactly the same OS & setup as 3 > other servers I manage and installed mongrel the same way as all the > others. So, the problem is that mongrel didn''t compile right? Should > I try an uninstall / reinstall?Yeah, try that. Basically when you get that error it''s most likely because things didn''t compile right.