https://github.com/progm/passenger-rails-server
A simple gem that sets the default server for rack (and rails) to https://www.phusionpassenger.com/.
https://github.com/progm/passenger-rails-server
Last synced: 8 months ago
JSON representation
A simple gem that sets the default server for rack (and rails) to https://www.phusionpassenger.com/.
- Host: GitHub
- URL: https://github.com/progm/passenger-rails-server
- Owner: ProGM
- License: mit
- Created: 2015-09-24T09:35:10.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-03-01T12:55:16.000Z (over 10 years ago)
- Last Synced: 2024-08-08T18:35:04.497Z (almost 2 years ago)
- Language: Ruby
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# THIS GEM IS OBSOLETE, SINCE PASSENGER >= 5.0.25 IMPLEMENTS THIS NATIVELY.
# [CHECK ISSUE #1](https://github.com/ProGM/passenger-rails-server/issues/1)
[](http://badge.fury.io/rb/passenger-rails-server)
[](https://codeclimate.com/github/ProGM/passenger-rails-server)
# passenger-rails-server
passenger-rails-server is a simple gem that sets the default server for rack (and rails) to [phusion passenger](https://www.phusionpassenger.com/).
## Description
passenger-rails-server overrides the `Rack::Handler.default` method to return `Rack::Handler::Passenger` which will cause rack (and
rails) to use passenger by default.
## Installation
Add this line to your application's `Gemfile`:
gem "passenger-rails-server"
And then execute:
$ bundle install
## Usage
Just add the gem to your `Gemfile` and then `rails server` will default to using passenger.
## Inspiration
https://github.com/samuelkadolph/unicorn-rails
## Contributing
Fork, branch & pull request.