You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/source/rails_on_rack.md
-22Lines changed: 0 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -58,28 +58,6 @@ class Server < ::Rack::Server
58
58
end
59
59
```
60
60
61
-
### `rackup`
62
-
63
-
To use `rackup` instead of Rails' `bin/rails server`, you can put the following inside `config.ru` of your Rails application's root directory:
64
-
65
-
```ruby
66
-
# Rails.root/config.ru
67
-
require_relative"config/environment"
68
-
run Rails.application
69
-
```
70
-
71
-
And start the server:
72
-
73
-
```bash
74
-
$ rackup config.ru
75
-
```
76
-
77
-
To find out more about different `rackup` options, you can run:
78
-
79
-
```bash
80
-
$ rackup --help
81
-
```
82
-
83
61
### Development and Auto-reloading
84
62
85
63
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.
0 commit comments