Skip to content

Commit 0851c55

Browse files
committed
Copy the rails new info to both With/Without sections
Since the With Docker section is much longer due to the content that has to be copied into files, it felt really weird to be reading about `rails new` and that it would take awhile to run and output a lot of info. I included this with slightly different wording for the With Docker section since it uses `.` as the rails app name which means the current directory.
1 parent 7a88354 commit 0851c55

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sites/en/intro-to-rails/getting_started.step

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ steps do
4343
step do
4444
option "Without Docker" do
4545
console "rails new suggestotron"
46+
message "`rails new` creates a new Rails project with the name you give. In this case we told it to create a new project called `suggestotron`. We'll go into detail on what it created shortly."
47+
message "This will print a lot of stuff to the screen and can take a while to finish."
4648
console "cd suggestotron"
4749
message "`cd suggestotron` makes suggestotron our current directory."
4850
end
@@ -99,6 +101,7 @@ steps do
99101
CONTENTS
100102
message "Build your rails app:"
101103
console "docker-compose run web rails new . --force --database=postgresql"
104+
message "The `rails new` command creates a Rails project with the name you give. In this case we used `.` which is a shorthand for the current directory which happens to be `suggestotron`. We'll go into detail on what it created shortly. This and the following steps will all print a lot of stuff to the screen and might take a while to finish."
102105
console "docker-compose build"
103106
message "Setup the database:"
104107
message "In your editor, open up `config/database.yml` and change it to the following:"
@@ -124,10 +127,6 @@ steps do
124127
console "docker-compose run web bin/rails db:create"
125128
console "docker-compose run web bin/rails db:migrate"
126129
end
127-
128-
message "`rails new` creates a new Rails project with the name you give."
129-
message "In this case we told it to create a new project called `suggestotron`. We'll go into detail on what it created shortly."
130-
message "This will print a lot of stuff to the screen and can take a while to finish."
131130
end
132131

133132
step do

0 commit comments

Comments
 (0)