diff options
Diffstat (limited to 'guides/source/rails_on_rack.md')
-rw-r--r-- | guides/source/rails_on_rack.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/guides/source/rails_on_rack.md b/guides/source/rails_on_rack.md index 22502c9d54..8fe10026a5 100644 --- a/guides/source/rails_on_rack.md +++ b/guides/source/rails_on_rack.md @@ -85,13 +85,13 @@ run ApplicationName::Application And start the server: -```shell +```bash $ rackup config.ru ``` To find out more about different +rackup+ options: -```shell +```bash $ rackup --help ``` @@ -106,7 +106,7 @@ NOTE: +ActionDispatch::MiddlewareStack+ is Rails' equivalent of +Rack::Builder+, Rails has a handy rake task for inspecting the middleware stack in use: -```shell +```bash $ rake middleware ``` @@ -189,7 +189,7 @@ config.middleware.delete "Rack::Lock" And now if you inspect the middleware stack, you'll find that +Rack::Lock+ will not be part of it. -```shell +```bash $ rake middleware (in /Users/lifo/Rails/blog) use ActionDispatch::Static |