[RUBY] What to do if the Rails page doesn't appear in Rails tutorial 1.3.2

Article creation date: 2020/07/21

Self-introduction

Hello. My name is Okamu and I recently started studying programming. Since this is my first time posting an article, please understand that there may be some sloppy parts.

Contents

Now, let's get into the main subject. Ruby on Rails Tutorial In Rails6.0 (6th edition), I had a stumbling block while proceeding with the Rails tutorial, so I would like to share the stumbling block and the workaround I took.

Where I stumbled

Rails tutorial Rails 6.0 (6th edition) ← Paid guy 1.3.2 rails server I stumbled upon the fact that the page displayed is different when I start the rails server in the chapter and display the Rails page. ↓ You should see a screen like this スクリーンショット 2020-07-21 03.53.24.png ↓ A screen like this has been displayed. https3A2F2Fqiita-image-store.png

approach

I stumbled in a place like the one above, but when I dealt with it while searching, I was able to display it, so I will explain how to deal with it. Simply put

--Drop Cloud9 --Open the aws management console and search for EC2 --Stop Cloud9 instance --When you display the screen in Cloud9 again, the screen as in the tutorial is displayed.

This is the method. It is difficult to explain if it is only words, so I would like to explain it with images below.

First, "drop Cloud9" For Windows, press the x button, and for Mac, press the x button on the upper left with Cloud9 open. スクリーンショット 2020-07-21 03.53.24.png

Then "Open the aws management console and search for EC2" This will open aws as if you opened Cloud9, enter "EC2" in the search field for the service, and open that service. スクリーンショット 2020-07-21 22.05.37.png

And "Stop the Cloud9 instance" When you open EC2, you'll see a list of instances used by that account. I think there is an instance with a green circle that says running, so check the check mark for that instance. After checking, click the action button at the top of the screen, and a menu will appear. Click "Instance status" → "Stop". スクリーンショット 2020-07-21 22.07.08.png

Then you will get the following warning, but please ignore it and press the "Stop" button. スクリーンショット 2020-07-22 01.49.10.png

If you go through the above steps and display the screen in Cloud9 again, the screen as in the tutorial will be displayed. スクリーンショット 2020-07-21 03.53.24.png I was able to display it this way. I hope it will be helpful to everyone.

Referenced articles

https://qiita.com/taraka/items/0c98afb92c93ebae4947

Recommended Posts

What to do if the Rails page doesn't appear in Rails tutorial 1.3.2
What to do if Cloud9 is full in the Rails tutorial
What to do if the Rails server can't start
[Note] What to do if bundle install in Chapter 3 of the rails tutorial is not possible
What to do if the rails server doesn't run out on AWS cloud9
What to do if the image posted by refile disappears after setting a 404 error page in Rails
What to do if you can't bundle update and bundle install after installing Ruby 3.0.0 in the Rails tutorial
What to do if you can't use the rails command
What to do if validation doesn't work with the update action
[Rails] What to do if data is not registered in DB
What to do if you forget the root password in CentOS7
[Rails] What to do if you accidentally install bundle in the production environment in your local environment
[Rails Tutorial Chapter 2] What to do when you make a mistake in the column name
What to do if the server tomcat dies
What to do if the prefix c is not bound in JSP
What to do if the debug gem installation fails
What to do if the changes are not reflected in the jar manifest file
What to do when rails db: seed does not reflect in the database
What to do if password authentication fails in Docker/Postgres
What to do if ffi installation fails when launching an application in Rails
What to do if the update does not take effect after deploying Rails AWS
What to do if you can't get the text of an element in Selenium
# What to do if you accidentally do rails db: migrate: drop
What to do if the adb command cannot be executed
What to do if you get the warning "Uniqueness validator will no longer enforce case sensitive comparison in Rails 6.1." in Rails 6.0
[Rails] What to do if you can't get an error message with the errors method
What to do if you get a "302" error in your controller unit test code in Rails
What to do when Rails on Docker does not reflect controller changes in the browser
What to do if you get an error in Basic authentication during Rails test code
[Ubuntu 20.04] What to do if the external monitor is not recognized
What to do when the changes in the Servlet are not reflected
What to do if the Eclipse Maven dependency Jar is wrong
What to do if you get a DISPLAY error in gym.render ()
Things to remember and concepts in the Ruby on Rails tutorial
What to do if you cannot roll back the migration (UnknownMigrationVersionError)
[Rails] What to do if you can't get parameters with form_with
[Programming beginner] What to do when rails s becomes an error in the local development environment
What to do if you get a "Mysql2 :: Error: Operand should contain 1 column (s)" error in Rails
How to use MySQL in Rails tutorial
What to do if you install Ubuntu
What to do if the app is not created with the latest Rails version installed when rails new
What to do if you get a groovy warning in Thymeleaf Layout
What to do if you get an error during rails db: reset
What to do when Blocked Host: "host name" appears in Ruby on Rails
What to do if you don't like the code generated by swagger-codegen-cli
What to do if tomcat process remains when tomcat is stopped in eclipse
What to do if Operation not permitted is displayed when you execute a command in the terminal
[Rails / Docker] What to do if access is denied by the browser (localhost: 3000) after adding a gem
I tried to organize the session in Rails
[Rails Struggle/Rails Tutorial] What you learned in Rails Tutorial Chapter 3
What to do if you push incorrect information
What to do if mvn archetype: generate fails
What to do when IllegalStateException occurs in PlayFramework
How to check Rails commands in the terminal
What to do if you get the error message unrecognized selector send to instance "***"
What to do when the value becomes null in the second getSubmittedValue () in JSF Validator
[Swift] What to do if the app icon is set but not reflected
What to do if you get To install the missing version, run `gem install bundler: 2.1.4`
What to do if build from command line fails in Android development environment
Androd: What to do about "The Realm is already in a write transaction in"
What to do if you get an "A server is already running." Error when you try to start the rails server