Skip to content

Commit

Permalink
Merge pull request #53533 from Earlopain/no-docs-for-rackup
Browse files Browse the repository at this point in the history
[ci skip] Remove guide docs for `rackup`
  • Loading branch information
rafaelfranca committed Nov 5, 2024
1 parent 8ee2d3e commit 74608e5
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions guides/source/rails_on_rack.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,28 +58,6 @@ class Server < ::Rack::Server
end
```

### `rackup`

To use `rackup` instead of Rails' `bin/rails server`, you can put the following inside `config.ru` of your Rails application's root directory:

```ruby
# Rails.root/config.ru
require_relative "config/environment"
run Rails.application
```

And start the server:

```bash
$ rackup config.ru
```

To find out more about different `rackup` options, you can run:

```bash
$ rackup --help
```

### Development and Auto-reloading

Middlewares are loaded once and are not monitored for changes. You will have to restart the server for changes to be reflected in the running application.
Expand Down

0 comments on commit 74608e5

Please sign in to comment.