aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/getting_started.md
diff options
context:
space:
mode:
authorBryan Bibat <bry@bryanbibat.net>2015-01-25 14:02:54 +0800
committerBryan Bibat <bry@bryanbibat.net>2015-01-25 14:18:07 +0800
commiteed34e2251fbaa03d86402f7d80ecc3f8a62fb51 (patch)
treeb5d58fa9c32ced70d1b29b980c4f48c1e3a507c3 /guides/source/getting_started.md
parent3327cd3f61a22a5834dcbf9bd24ecbc3a23de3de (diff)
downloadrails-eed34e2251fbaa03d86402f7d80ecc3f8a62fb51.tar.gz
rails-eed34e2251fbaa03d86402f7d80ecc3f8a62fb51.tar.bz2
rails-eed34e2251fbaa03d86402f7d80ecc3f8a62fb51.zip
Add tip for running binstubs on Windows [ci skip]
The default command prompt under Windows doesn't run binstubs correctly while PowerShell needs to find the location of the Ruby interpreter for it to work properly. Passing the binstubs manually to the interpreter solves this problem.
Diffstat (limited to 'guides/source/getting_started.md')
-rw-r--r--guides/source/getting_started.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index 5945d48e98..a976969dae 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -193,6 +193,9 @@ following in the `blog` directory:
$ bin/rails server
```
+TIP: If you are using Windows, you have to pass the scripts under the `bin`
+folder directly to the Ruby interpreter e.g. `ruby bin\rails server`.
+
TIP: Compiling CoffeeScript and JavaScript asset compression requires you
have a JavaScript runtime available on your system, in the absence
of a runtime you will see an `execjs` error during asset compilation.