Yeah I just noticed that the latest mongrel gem for win32 doesn''t have the proper dependency for ''daemons''. This of course causes the require to fail. Any chance at getting this fixed for future gems? :) Thanks Josh Ferguson
Ok, on the bug list. I''m doing a 0.3.12.5 release tomorrow or so and I''ll get this fixed up. I have to do lots of testing and fixing up mongrel on win32 anyway. Zed On 4/18/06 11:14 PM, "Josh Ferguson" <josh at besquared.net> wrote:> Yeah I just noticed that the latest mongrel gem for win32 doesn''t have > the proper dependency for ''daemons''. This of course causes the require > to fail. Any chance at getting this fixed for future gems? :) > > Thanks > Josh Ferguson > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users
Since we''re on the topic of Win32, I''m having a hell of a time getting mongrel on to run with or without the service. I use Windows XP Pro and Cygwin to do everything on my machine. The problem is that mongrel starts successfully but then when the first request comes in I get the following stack trace: $ mongrel_rails start ** Starting Mongrel in development mode at 0.0.0.0:3000 ** Starting Rails in environment development ... /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:539:in `register'': undefined method `resolve'' for ni l:Mongrel::URIClassifier (NoMethodError) from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:675:in `uri'' from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/bin/mongrel_rails:82:in `cloaker_'' from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:658:in `listener'' from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/bin/mongrel_rails:69:in `cloaker_'' from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:616:in `initialize'' from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/bin/mongrel_rails:61:in `run'' from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel/command.rb:163:in `run'' from /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/bin/mongrel_rails:194 from /usr/bin/mongrel_rails:18 I''m not intimate with the code but I looked through it and I couldn''t find ''resolve'' as a member of URIClassifier or any mixins or run-time extendings that added it. Any help would be appreciated as I''d really love to get this thing running..:) Hating windows Josh Ferguson Zed Shaw wrote:> Ok, on the bug list. I''m doing a 0.3.12.5 release tomorrow or so and I''ll > get this fixed up. I have to do lots of testing and fixing up mongrel on > win32 anyway. > > Zed > > > On 4/18/06 11:14 PM, "Josh Ferguson" <josh at besquared.net> wrote: > > >> Yeah I just noticed that the latest mongrel gem for win32 doesn''t have >> the proper dependency for ''daemons''. This of course causes the require >> to fail. Any chance at getting this fixed for future gems? :) >> >> Thanks >> Josh Ferguson >> _______________________________________________ >> Mongrel-users mailing list >> Mongrel-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/mongrel-users >> > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > >
On 4/19/06, Josh Ferguson <josh at besquared.net> wrote:> Since we''re on the topic of Win32, I''m having a hell of a time getting > mongrel on to run with or without the service. I use Windows XP Pro and > Cygwin to do everything on my machine. The problem is that mongrelMmmm, never tried the cygwin env. with mongrel... nor the service part with cygwin, that is what are you doing?
Sorry to poke my nose in, but I must say that everything about Railsand Ruby I have tried to do has worked fine without Cygwin. Thisincludes sqlite3, postgresql, mysql, apache2, scgi, fastcgi, lighttpd(limited, but works), and mongrel. You may want to try "goin'' native"and see how that works for you. On 4/19/06, Luis Lavena <luislavena at gmail.com> wrote:> On 4/19/06, Josh Ferguson <josh at besquared.net> wrote:> > Since we''re on the topic of Win32, I''m having a hell of a time getting> > mongrel on to run with or without the service. I use Windows XP Pro and> > Cygwin to do everything on my machine. The problem is that mongrel>> Mmmm, never tried the cygwin env. with mongrel... nor the service part> with cygwin, that is what are you doing?>> _______________________________________________> Mongrel-users mailing list> Mongrel-users at rubyforge.org> http://rubyforge.org/mailman/listinfo/mongrel-users> --Cheers, Kevin "Picking fights with people smarter than youis great - you always end up learning something."- jcooney.net
On Apr 19, 2006, at 6:48 AM, Kevin Williams wrote:> Sorry to poke my nose in, but I must say that everything about > Railsand Ruby I have tried to do has worked fine without Cygwin.Likewise. Cygwin is always worth avoiding IMO. --Steve
I''m definitely sure that ruby, rails, rake, gem, etc would work without cygwin. But then I''d lose everything else that''s good about it. Theres is a plethora of nice tools that make my life not suck (ls, grep, ps, ncftp, ssh, etc.) all built in. I spend a lot of my time working with generators, running unit tests, rake deployment tasks, etc. and bash is nice while the normal windows shell sucks. That being said, I didn''t install cygwin packages from the installer for any of my ruby/rails or other tools, just normal installs, thus, these errors are not limited to cygwin but to my system as a whole, the stacktrace is the same using my normal cmd prompt which would lead me to believe there is something more amiss than my choice of command shell environments. Josh Ferguson Stephen Waits wrote:> On Apr 19, 2006, at 6:48 AM, Kevin Williams wrote: > > >> Sorry to poke my nose in, but I must say that everything about >> Railsand Ruby I have tried to do has worked fine without Cygwin. >> > > Likewise. > > Cygwin is always worth avoiding IMO. > > --Steve > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > >
Uh, I''m not sure how that''s possible unless the http11.so extension isn''t being installed or compiled. Check in your gem directory and see if it''s there. The http11 extension is what provides the resolve method. I vaguely remember that a similar problem happens on Solaris due to a ruby extconf.rb problem and how the install command works. Seems that people just fix it by moving the ext/http11/http11.so file over to lib inside the gem''s directory. Zed On 4/19/06 1:18 AM, "Josh Ferguson" <josh at besquared.net> wrote:> Since we''re on the topic of Win32, I''m having a hell of a time getting > mongrel on to run with or without the service. I use Windows XP Pro and > Cygwin to do everything on my machine. The problem is that mongrel > starts successfully but then when the first request comes in I get the > following stack trace: > > $ mongrel_rails start > ** Starting Mongrel in development mode at 0.0.0.0:3000 > ** Starting Rails in environment development ... > /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:539:in > `register'': undefined method `resolve'' for ni
It''s there but the require fails in irb for some reason. I guess this is a problem I''ll have to figure out with my setup.. :) Thanks Josh Ferguson Zed Shaw wrote:> Uh, I''m not sure how that''s possible unless the http11.so extension isn''t > being installed or compiled. Check in your gem directory and see if it''s > there. The http11 extension is what provides the resolve method. > > I vaguely remember that a similar problem happens on Solaris due to a ruby > extconf.rb problem and how the install command works. Seems that people > just fix it by moving the ext/http11/http11.so file over to lib inside the > gem''s directory. > > Zed > > > On 4/19/06 1:18 AM, "Josh Ferguson" <josh at besquared.net> wrote: > > >> Since we''re on the topic of Win32, I''m having a hell of a time getting >> mongrel on to run with or without the service. I use Windows XP Pro and >> Cygwin to do everything on my machine. The problem is that mongrel >> starts successfully but then when the first request comes in I get the >> following stack trace: >> >> $ mongrel_rails start >> ** Starting Mongrel in development mode at 0.0.0.0:3000 >> ** Starting Rails in environment development ... >> /usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4-mswin32/lib/mongrel.rb:539:in >> `register'': undefined method `resolve'' for ni >> > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users > >