@@ -33,7 +33,7 @@ is the same as `rails server`.
33
33
34
34
message <<-MARKDOWN
35
35
The first command should produce no output.
36
- If " rails server" starts up with no errors, you're golden! It'll look something like this:
36
+ If ` rails server` starts up with no errors, you're golden! It'll look something like this:
37
37
MARKDOWN
38
38
39
39
result <<-TEXT
@@ -68,8 +68,7 @@ message <<-MARKDOWN
68
68
end
69
69
70
70
step "Generate a database model" do
71
-
72
- option "if your prompt doesn't already show that you are (still) in the test_app folder" do
71
+ tip "If your prompt doesn't already show that you are (still) in the test_app folder" do
73
72
console "cd test_app"
74
73
end
75
74
@@ -88,8 +87,7 @@ rails server
88
87
end
89
88
90
89
step "Use git" do
91
-
92
- option "if your prompt doesn't already show that you are (still) in the test_app folder" do
90
+ tip "If your prompt doesn't already show that you are (still) in the test_app folder" do
93
91
console "cd test_app"
94
92
end
95
93
@@ -151,19 +149,23 @@ Git remote heroku added
151
149
Find your test_app folder and open it in a text-editor.
152
150
Inside, find a file named Gemfile.
153
151
Edit your Gemfile and change the line:
152
+ MARKDOWN
153
+ source_code :ruby, <<-RUBY
154
+ gem 'sqlite3'
155
+ RUBY
154
156
155
- gem 'sqlite3'
156
-
157
+ message <<-MARKDOWN
157
158
To this:
159
+ MARKDOWN
158
160
159
- group :development, :test do
160
- gem 'sqlite3'
161
- end
162
- group :production do
163
- gem 'pg'
164
- end
165
-
166
- MARKDOWN
161
+ source_code :ruby, <<-RUBY
162
+ group :development, :test do
163
+ gem 'sqlite3'
164
+ end
165
+ group :production do
166
+ gem 'pg'
167
+ end
168
+ RUBY
167
169
168
170
console <<-BASH
169
171
bundle install --without production
0 commit comments