Skip to content

Commit 4646b00

Browse files
authored
Merge pull request rails#50181 from akhilgkrishnan/add-codehighlight
Add markdown code highlight for bash script [skip ci]
2 parents 8b4e92f + abf5ce1 commit 4646b00

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,24 @@ In addition to that, Rails also comes with:
5858

5959
1. Install Rails at the command prompt if you haven't yet:
6060

61-
$ gem install rails
61+
```bash
62+
$ gem install rails
63+
```
6264

6365
2. At the command prompt, create a new Rails application:
6466

65-
$ rails new myapp
67+
```bash
68+
$ rails new myapp
69+
```
6670

6771
where "myapp" is the application name.
6872

6973
3. Change directory to `myapp` and start the web server:
7074

71-
$ cd myapp
72-
$ bin/rails server
73-
75+
```bash
76+
$ cd myapp
77+
$ bin/rails server
78+
```
7479
Run with `--help` or `-h` for options.
7580

7681
4. Go to `http://localhost:3000` and you'll see the Rails bootscreen with your Rails and Ruby versions.

0 commit comments

Comments
 (0)