[RUBY] I can't get out of the Rails dbconsole screen


I can't get out of the SQLite operation screen when creating a Rails application

Execution environment

・ Rails -5 ・ AWS Cloud9

error contents

After creating the DB, I entered the following command to check if the table was created. rails dbconsolesqlite> .table↵ Since I was able to confirm the created table, I tried to exit the SQLite screen with the following command (typo). sqlite> exit↵  exit → ✖ Then on the screen ...> Is displayed, and even if you enter a regular command (**. Exit **), you cannot exit the console screen.


Upon examination, ...> is * a prompt to continue typing *, so you can cancel it by typing **; . ...> ;↵ "exit" was an error. After the display of, the screen returns to the normal SQLite input screen, so enter the regular command (. Exit **) to exit the console screen. Error: near "exit": syntax error sqlite> .exit↵ I was able to exit the console screen safely.

Solution keywords

...> is * Prompt to continue typing * Type ; to turn off the prompt

Recommended Posts

I can't get out of the Rails dbconsole screen
[Rails] When I use form_with, the screen freezes! ??
[Rails] How to get the contents of strong parameters
[JavaScript] I can't get the response body at the time of error with axios (ajax)
[Ruby on Rails] I want to get the URL of the image saved in Active Storage
[Rails] How to get the URL of the transition source and redirect
[Rails] Check the contents of the object
Explanation of the order of rails routes
I read the source of ArrayList I read
I read the source of Integer
Check the migration status of rails
I read the source of Long
[Rails] I tried deleting the application
Get the ID of automatic numbering
I read the source of Short
I read the source of Byte
I read the source of String
Incident (rails) that is logged out when user editing of the application
[Rails] About the error when displaying the screen due to the autofocus of the form
[Rails] I will explain the implementation procedure of the follow function using form_with.
[Rails & Docker & MySQL environment construction] I started the container, but I can't find MySQL ...?
[CircleCI] I was addicted to the automatic test of CircleCI (rails + mysql) [Memo]
Get the value of enum saved in DB by Rails with attribute_before_type_cast
Get the result of POST in Java
[Java] Get the day of the specific day of the week
The identity of params [: id] in rails
part of the syntax of ruby ​​on rails
I investigated the internal processing of Retrofit
[day: 5] I summarized the basics of Java
[Rails] Change the label name of f.label
Fix the view screen of the post page
The process of introducing Vuetify to Rails
I want to get the value of Cell transparently regardless of CellType (Apache POI)
What I tried when I wanted to get all the fields of a bean
I used it without knowing the O / R mapping of rails, so I checked it.
[Rails] Get the path name of the URL before the transition and change the link destination
I managed to get a blank when I brought the contents of Beans to the textarea
Find out about Rails hidden_field (create a confirmation screen and check the behavior)
I want to recursively get the superclass and interface of a certain class
[No.004] Corrected the order list screen of the orderer
[Order method] Set the order of data in Rails
I rewrote the Rails tutorial test with RSpec
I want to output the day of the week
[Android] Get the tapped position (coordinates) on the screen
I checked the place of concern of java.net.URL # getPath
[Ruby on Rails] Until the introduction of RSpec
I tried to organize the session in Rails
Image registration? Of course I can't (can) ~ part2 ~
I compared the characteristics of Java and .NET
I want to var_dump the contents of the intent
How to get today's day of the week
The code I used to connect Rails 3 to PostgreSQL 10
I summarized the naming conventions for each Rails
I touched on the new features of Java 15
[Java] How to get the authority of the folder
I tried using the profiler of IntelliJ IDEA
I checked the number of taxis with Ruby
I want to get the value in Ruby
Try the free version of Progate [Java I]
Rails The concept of view componentization of Rails that I want to convey to those who want to quit
What to do if you can't get the text of an element in Selenium