No to apache/nginx configs. zero-config Rack server for Mac OS X

Bookmark this on Digg
Bookmark this on Delicious
Share on Facebook
Post to Google Buzz
Bookmark this on Yahoo Bookmark
Share on FriendFeed
[`tweetmeme` not found]

Are you developing Rails application from a while? I’d be interested to hear how do you run it locally especially on Mac OS X.

Possible options are:

My preferred choice is phusion passenger for Apache or Nginx and writing VirtualHost config everytime I create a new Rails application. Listen to new port and set the virtual host and restart apache or nginx. Boom. Done.

Else it’s good to start Mongrel or webrick instances if Apache/Nginx is down and it’s up in a minute or when Virtual Host port and configs start becoming confusing.

Recently I got to install POW.CX

Pow is a zero-config Rack server for Mac OS X. Have it serving your apps locally in under a minute.

Install it using

$ curl get.pow.cx | sh

To set up a Rack app, just symlink it into:

$ cd ~/.pow $ ln -s /path/to/myapp

 

That’s it! Your app will be up and running at http://myapp.dev/. See the user’s manual for more information.

Also one can use powder which manages POW and makes easy pow more easier .

https://github.com/Rodreegez/powder

It’s simple, straight and offers Convention over Configuration. No more configs or running mongrel instances to start an application.