Unicorn

Unicorn is a pretty cool and super fast HTTP Server for Rack applications. You can install it with this command:

gem install unicorn

and you can run you Ruby on Rails app on it with this command:

<RAILS_ROOT>: unicorn_rails

Just navigate into your root app directory and type in “unicorn_rails”. By default it will run the server on Port 8080 and you app is available on:

http://localhost:8080

Unicorn is optimized for Linux/Unix machines! You can not run your JRuby app on it, because some native extensions are not yet implemented for JRuby.

 

Published by Robert Reiz

CEO @ VersionEye. Passionated software developer since 1998.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: