Skip to content

Commit baf0cea

Browse files
committed
Clean some formatting on create rails app page
this reduces the use of single-option option tags, which look all weird
1 parent 6d6f7c1 commit baf0cea

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

sites/installfest/create_and_deploy_a_rails_app.step

+17-15
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ is the same as `rails server`.
3333

3434
message <<-MARKDOWN
3535
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:
3737
MARKDOWN
3838

3939
result <<-TEXT
@@ -68,8 +68,7 @@ message <<-MARKDOWN
6868
end
6969

7070
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
7372
console "cd test_app"
7473
end
7574

@@ -88,8 +87,7 @@ rails server
8887
end
8988

9089
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
9391
console "cd test_app"
9492
end
9593

@@ -151,19 +149,23 @@ Git remote heroku added
151149
Find your test_app folder and open it in a text-editor.
152150
Inside, find a file named Gemfile.
153151
Edit your Gemfile and change the line:
152+
MARKDOWN
153+
source_code :ruby, <<-RUBY
154+
gem 'sqlite3'
155+
RUBY
154156

155-
gem 'sqlite3'
156-
157+
message <<-MARKDOWN
157158
To this:
159+
MARKDOWN
158160

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
167169

168170
console <<-BASH
169171
bundle install --without production

0 commit comments

Comments
 (0)