I''m setting up a Rails app for a client that uses Windows. I''m getting this error: c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/lib/mongrel/rails.rb: 32: uninitial ized constant Mongrel::HttpHandler (NameError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:21:in `re quire'' from c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/bin/ mongrel_rails:10 from c:/ruby/bin/mongrel_rails:18 Setup: Windows Server 2003, Standard Rails 1.1.6 Mongrel 0.3.18 Mongrel Service 0.1 Daemons 1.0.3 Cgi Multipart OEF fix 1.0.0 Win32-Service 0.5.2 Any ideas. Jamie
On 11/27/06, Jamie Orchard-Hays <jamie at dangosaur.us> wrote:> I''m setting up a Rails app for a client that uses Windows. I''m > getting this error: > > c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/lib/mongrel/rails.rb: > 32: uninitial > ized constant Mongrel::HttpHandler (NameError) > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:21:in `re > quire'' > from c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/bin/ > mongrel_rails:10 > from c:/ruby/bin/mongrel_rails:18 > > Setup: > > Windows Server 2003, Standard > Rails 1.1.6 > Mongrel 0.3.18 > Mongrel Service 0.1 > Daemons 1.0.3 > Cgi Multipart OEF fix 1.0.0 > Win32-Service 0.5.2 > > Any ideas.Yes..i hope you read about Lluis and Zed''s effort to port mongrel-0.3.18 to Windows and make it smooth. People are able to compile it successfully but unless our benevolent dictator certifies it....you should wait. -- There was only one Road; that it was like a great river: its springs were at every doorstep, and every path was its tributary.
OK, is there another version recommended that works now? This is a very low traffic, internal app, so that''s all I need it to work well with. On Nov 27, 2006, at 2:49 PM, hemant wrote:> On 11/27/06, Jamie Orchard-Hays <jamie at dangosaur.us> wrote: >> I''m setting up a Rails app for a client that uses Windows. I''m >> getting this error: >> >> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/lib/mongrel/rails.rb: >> 32: uninitial >> ized constant Mongrel::HttpHandler (NameError) >> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:21:in `re >> quire'' >> from c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/bin/ >> mongrel_rails:10 >> from c:/ruby/bin/mongrel_rails:18 >> >> Setup: >> >> Windows Server 2003, Standard >> Rails 1.1.6 >> Mongrel 0.3.18 >> Mongrel Service 0.1 >> Daemons 1.0.3 >> Cgi Multipart OEF fix 1.0.0 >> Win32-Service 0.5.2 >> >> Any ideas. > > > Yes..i hope you read about Lluis and Zed''s effort to port > mongrel-0.3.18 to Windows and make it smooth. People are able to > compile it successfully but unless our benevolent dictator certifies > it....you should wait. > > > > -- > There was only one Road; that it was like a great river: its springs > were at every doorstep, and every path was its tributary. > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users
On Mon, 27 Nov 2006 13:02:18 -0500 Jamie Orchard-Hays <jamie at dangosaur.us> wrote:> I''m setting up a Rails app for a client that uses Windows. I''m > getting this error:Yep, just hold for a bit. I was travelling yesterday so now I''ve got to work with Luis for the win32 part of this release. -- Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu http://www.zedshaw.com/ http://www.awprofessional.com/title/0321483502 -- The Mongrel Book http://mongrel.rubyforge.org/ http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
On 11/27/06, Jamie Orchard-Hays <jamie at dangosaur.us> wrote:> OK, is there another version recommended that works now? This is a > very low traffic, internal app, so that''s all I need it to work well > with. >Jamie, you''re trying to run the (ruby) gem, which require a compiler to build the native extensions. For win32 there is a pre-compiled version that skip the compilation step, but is not officially released. I could put them (mongrel, fastthread and mongrel_service) in my web server and offer as download, but they first must pass a series of tests, something to avoid you "suing us" due problems on your "internal, very low traffic" application. Still, try downloading a (mswin32) gem from rubyforge, last stable release was 0.3.13.3 Simply put in a terminal/console window: gem install mongrel -v 0.3.13.3 and select option 2 (mswin32) to install the precompiled one. I could say we are close to the release, but still a things must be done first.> > On Nov 27, 2006, at 2:49 PM, hemant wrote: > > > On 11/27/06, Jamie Orchard-Hays <jamie at dangosaur.us> wrote: > >> I''m setting up a Rails app for a client that uses Windows. I''m > >> getting this error: > >> > >> c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/lib/mongrel/rails.rb: > >> 32: uninitial > >> ized constant Mongrel::HttpHandler (NameError) > >> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/ > >> custom_require.rb:21:in `re > >> quire'' > >> from c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/bin/ > >> mongrel_rails:10 > >> from c:/ruby/bin/mongrel_rails:18 > >> > >> Setup: > >> > >> Windows Server 2003, Standard > >> Rails 1.1.6 > >> Mongrel 0.3.18 > >> Mongrel Service 0.1 > >> Daemons 1.0.3 > >> Cgi Multipart OEF fix 1.0.0 > >> Win32-Service 0.5.2 > >> > >> Any ideas. > > > > > > Yes..i hope you read about Lluis and Zed''s effort to port > > mongrel-0.3.18 to Windows and make it smooth. People are able to > > compile it successfully but unless our benevolent dictator certifies > > it....you should wait. > > > > > > > > -- > > There was only one Road; that it was like a great river: its springs > > were at every doorstep, and every path was its tributary. > > _______________________________________________ > > 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 >-- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that is worthwhile. Vince Lombardi
Thanks Luis. Perhaps it wasn''t building. I had put nmake on the system, but I don''t know if it had the needed compilers. I had actually tried the 0.13.3.3 release and had a different error. I''m not at the client site today, so I can''t report what that was with 0.13.3.3. I''ll just wait until the new version is ready. I''m running webrick as a service until then. Thanks, Jamie On Nov 27, 2006, at 6:51 PM, Luis Lavena wrote:> Jamie, you''re trying to run the (ruby) gem, which require a compiler > to build the native extensions. For win32 there is a pre-compiled > version that skip the compilation step, but is not officially > released. > > I could put them (mongrel, fastthread and mongrel_service) in my web > server and offer as download, but they first must pass a series of > tests, something to avoid you "suing us" due problems on your > "internal, very low traffic" application. > > Still, try downloading a (mswin32) gem from rubyforge, last stable > release was 0.3.13.3 > > Simply put in a terminal/console window: > > gem install mongrel -v 0.3.13.3 > > and select option 2 (mswin32) to install the precompiled one. > > I could say we are close to the release, but still a things must be > done first.