No commit activity in last 3 years
No release in over 3 years
simple gem that sets the default server for rack (and rails) to net-http-rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.0.4

Runtime

~> 1.4.5
 Project Readme

Gem Version Dependency Status Code Climate

net-http-rails

net-http-rails is a simple gem that sets the default server for rack (and rails) to net-http-server.

Description

net-http-rails overrides the Rack::Handler.default method to return Rack::Handler::HTTP which will cause rack (and rails) to use net-hhtp-server by default.

Installation

Add this line to your application's Gemfile:

gem "net-http-rails"

And then execute:

$ bundle install

Usage

Just add the gem to your Gemfile and then rails server will default to using net-http-server.

TODO

add tests

Credits

5 lines of code here but i copied it from thin-rails.

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