Forum: Ruby on Rails Rails Console Question ?>

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
171ea139761951336b844e708d1547ab?d=identicon&s=25 James Byrne (byrnejb)
on 2008-12-18 17:10
OS = CentOS-5.2
Ruby = 1.8.6
Rails = 2.2.2

This may or may not be intended behaviour.

$ script/console
Loading development environment (Rails 2.2.2)
>> <cr>
?> <cr>
?>

In short, I am getting a command complete prompt if I do not enter
anything on a line. To get out of it I have to <ctrl>C.  I have been
working in the console recently and do not recall this behaviour.  I
expected that a simple <cr> would yield yet another >> prompt like
below.

$ script/console
Loading development environment (Rails 2.2.2)
>> <cr>
>> <cr>
>>

Is it my memory that is wrong or is there something odd about what I am
seeing in the console?
This topic is locked and can not be replied to.