Rails console is loading but not accepting any commands .I am unable to even close the console by typing the exit command.
Loading development environment (Rails 7.0.2.4)
irb(main):001:0> ^C
irb(main):001:0> ^C
irb(main):001:0>
I have ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x64-mingw-ucrt] version
CodePudding user response:
Typing exit
and pressing Enter will exit the console.
irb(main):001:0> exit
IRB pocket reference here which may help: https://www.oreilly.com/library/view/ruby-pocket-reference/9780596514815/ch01s27.html
CodePudding user response:
Looks like you're typing ctrl C, which will cancel a process that is currently running. To exit the console type ctrl D