aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/rails_on_rack.md
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2016-01-20 00:34:31 +0530
committerVipul A M <vipulnsward@gmail.com>2016-01-20 00:34:31 +0530
commitd0c62d9d1ee5af224c7651ecc7bc8075f615c826 (patch)
treec83e716636c74bb9e18c8447f2b71786dfe62082 /guides/source/rails_on_rack.md
parent1347f08521881efacfc42a7284073272affc1d1e (diff)
downloadrails-d0c62d9d1ee5af224c7651ecc7bc8075f615c826.tar.gz
rails-d0c62d9d1ee5af224c7651ecc7bc8075f615c826.tar.bz2
rails-d0c62d9d1ee5af224c7651ecc7bc8075f615c826.zip
- Changed from bin/rake to bin/rails at more application places.
- Only ones left are from the upgrading guide, and command line guide explicit section about rake Follow up of https://github.com/rails/rails/pull/23119 [ci skip]
Diffstat (limited to 'guides/source/rails_on_rack.md')
-rw-r--r--guides/source/rails_on_rack.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/rails_on_rack.md b/guides/source/rails_on_rack.md
index 273fbc08e2..934693252e 100644
--- a/guides/source/rails_on_rack.md
+++ b/guides/source/rails_on_rack.md
@@ -96,7 +96,7 @@ NOTE: `ActionDispatch::MiddlewareStack` is Rails equivalent of `Rack::Builder`,
Rails has a handy rake task for inspecting the middleware stack in use:
```bash
-$ bin/rake middleware
+$ bin/rails middleware
```
For a freshly generated Rails application, this might produce something like:
@@ -178,7 +178,7 @@ And now if you inspect the middleware stack, you'll find that `Rack::Lock` is
not a part of it.
```bash
-$ bin/rake middleware
+$ bin/rails middleware
(in /Users/lifo/Rails/blog)
use ActionDispatch::Static
use #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x00000001c304c8>