Aug 27
Mongrel for Flex and Rails development
Most, if not all, all of the tutorials that I have seen about integrating Flex with Rails have used the WEBrick server that is included with Ruby. While there is nothing wrong with using WEBrick for developing small apps on your local machine, I would recommend that most developers use Mongrel, especially if you are developing in a windows environment.
Mongrel (http://mongrel.rubyforge.org/) is going to get you much better performance than the CGI based WEBrick and it is just as easy to use.
To get Mongrel, make sure you have the latest versions of Ruby, Rails, RubyGems installed, then just run gem install mongrel from the command line and then follow the instructions on the screen.
To run Mongrel just go to the rails application that you want to run on the command line and run mongrel_rails start.
That’s it. Just as easy as WEBBrick, and now your running in an environment that could be deployed for small scale apps.
Also, in honor of Zed Shaw’s (the creator of Mongrel) site here is a picture of my mongrel (Eva)
 

August 28th, 2006 at 1:24 am
Great to see another flex/rails site. It’s a fun combination of systems, and your posts are great.
Looking forward to seeing you post the source for your neat ftp app…
August 28th, 2006 at 7:06 am
Definately Mongrel Rocks. There is also a Mongrel Cluster plugin which allows you to cluster the processes of (even to other machines) and it automatically manages the IPs coming in to the Machine it was last running off. Very cool. We built Tickle.co.nz of of it and its pretty solid.
Have you tried WebOrbs AMF for Ruby on Rails? its AMF3 for Flex
) Kewl Kewl.
Campbell
October 27th, 2006 at 3:22 pm
Not specifically related, but I posted a link to this blog at Flashkit. Not sure if you wanted to contribute to the thread:
http://board.flashkit.com/board/showthread.php?t=706511&highlight=rails