Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Old School Super Solid Web Server for Ruby
Ruby
branch: master

This branch is even with brightroll:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
sample
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
unixrack.gemspec

README.md

unixrack

A ruby RACK webserver only for unix using the old unix style. We developed and used it in production at Brightroll.com. We recommend it for any small rack, sinatra, etc app that needs to have a high uptime. It is great for production use as well as development.

License

see LICENSE.txt (basically MIT license)

Installation

Add this line to your application's Gemfile:

gem 'unixrack'

And then execute:

$ bundle

Or install it yourself as:

$ gem install unixrack

Usage

Here is an example command to run the standard Rack lobster web app. You can get the sample in the samples directory from the github repo at: https://github.com/drudru/unixrack. Copy lobster.ru into your current dir then run:

$ RACK_ENV=stage rackup --port 4004 -s unixrack -r unixrack lobster.ru 

To run your own application, just create your own rackup (.ru) file with your own Rack middleware.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.