# \[ANN\] Mongrel 0.3.5 -- Rails/CGI Actually Works

**URL:** <https://www.ruby-forum.com/t/ann-mongrel-0-3-5-rails-cgi-actually-works/53973>\
**Category:** Rails\
**Created:** [February 18, 2006, 10:10pm UTC](https://www.ruby-forum.com/t/ann-mongrel-0-3-5-rails-cgi-actually-works/53973 "2006-02-18T22:10:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zed\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/da6949/32.png) [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Post date:** [February 18, 2006, 10:10pm UTC](https://www.ruby-forum.com/t/ann-mongrel-0-3-5-rails-cgi-actually-works/53973/1 "2006-02-18T22:10:37Z")

</div>

This release of Mongrel features a CGIWrapper that actually works. The  
previous code was complete garbage so this one should fix the problems  
with  
sessions, cookies, and content-types people reported previously.

There is also now a correctly built Win32 gem created by Luis L…  
Luis  
joined the Mongrel project and will be working on the Win32 specific  
gear  
needed. His first thing is going to be a Mongrel service so you can  
start/stop Mongrel like other web servers on Win32.

Grab the goods at [http://mongrel.rubyforge.org/](http://mongrel.rubyforge.org/)

== What Is Mongrel

Mongrel is a fast HTTP library and server for Ruby that is intended for  
hosting Ruby web applications of any kind using plain HTTP rather than  
FastCGI or SCGI. It is framework agnostic and already supports Ruby On  
Rails, Og+Nitro, and Camping frameworks.

== Changes for 0.3.5

- More correct CGIWrapper that should work with all CGI parameters and  
any  
additional ones you set as well as properly converting cookies.
- Content-types and sessions should be fixed now.
- Fix to DirHandler that caused it to not list directories if told to.

Win32 people will still have problems with CTRL-C not stopping mongrel,  
but  
Luis is tracking that down as part of his win32 service work.

== Getting Mongrel

You can get Mongrel via RubyGems just make sure you pick the win32 gem  
if  
you are on that platform. You can use the regular gem if you have your  
own  
compiler.

For those not familiar with RubyGems refer to the Mongrel site for help  
(it’s right on the front page).

== Toward 0.4

This release is getting closer to complete Ruby on Rails support. It  
should  
work well, but file upload/send will probably function very weirdly if  
at  
all.

The next release will focus on getting the win32 service working and  
enabling all the little things like file upload/send, built-in page  
caching  
support, and other goodies. People running Rails should shoot me  
feature  
requests along these lines.

Zed A. Shaw

> **[Zed A. shaw](https://zedshaw.com/)**
>
> Personal essays and writings by Zed A. Shaw.

---

<div class="post-metadata">

**Author:** ![Zed\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/da6949/32.png) [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Post date:** [February 19, 2006, 12:45am UTC](https://www.ruby-forum.com/t/ann-mongrel-0-3-5-rails-cgi-actually-works/53973/2 "2006-02-19T00:45:26Z")

</div>

On Feb 18, 2006, at 1:08 PM, Zed S. wrote:

> This release of Mongrel features a CGIWrapper that actually works.  
> The  
> previous code was complete garbage so this one should fix the  
> problems with  
> sessions, cookies, and content-types people reported previously.

🙂

Hey, this is looking really great!

I noticed when I do:

sudo gem install mongrel

it now prompts me for version.

It seems to think there are Win32 and Ruby versions.

Should it be something like Win32 and \*nix. It’s all  
Ruby, right? 🙂

–  
– Tom M.

---

<div class="post-metadata">

**Author:** ![Zed\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/da6949/32.png) [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Post date:** [February 19, 2006, 6:15am UTC](https://www.ruby-forum.com/t/ann-mongrel-0-3-5-rails-cgi-actually-works/53973/3 "2006-02-19T06:15:08Z")

</div>

On Feb 18, 2006, at 6:16 PM, Wilson B. wrote:

> menu like that.  
> Thanks, Wilson.

–  
– Tom M.

---

<div class="post-metadata">

**Author:** ![Zed\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/da6949/32.png) [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Post date:** [February 19, 2006, 3:16am UTC](https://www.ruby-forum.com/t/ann-mongrel-0-3-5-rails-cgi-actually-works/53973/4 "2006-02-19T03:16:29Z")

</div>

On 2/18/06, Tom M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hey, this is looking really great!  
> Ruby, right? 🙂

In RubyGems lingo, non-platform-specific gems have ‘RUBY’ as the  
platform, and binary gems have platform names like ‘WIN32’.  
Seems reasonable, but not super-clear when you see them together in a  
menu like that.
