Skip to content

rails console will not suspend #361

@etcetc

Description

@etcetc

When using spring, I am unable to ctl-Z out of the rails console. While it looks like it's in the shell, if I just hit return it goes back into the rails console. After that, nothing makes sense as it seems to drop letters.

thumbz> rails c
Loading development environment (Rails 4.1.7)
2.1.3 :001 > User
 => User (call 'User.connection' to establish a connection) 
2.1.3 :002 > 
[1]+  Stopped                 rails c
thumbz> 
2.1.3 :003 >   User
-bash: Ue: command not found
thumbz> User
NameError: undefined local variable or method `srUe' for main:Object
from (irb):3
from /Users/ff/.rvm/gems/ruby-2.1.3@rails41/gems/railties-4.1.7/lib/rails/commands/console.rb:90:in `start'
from /Users/ff/.rvm/gems/ruby-2.1.3@rails41/gems/railties-4.1.7/lib/rails/commands/console.rb:9:in `start'
from /Users/ff/.rvm/gems/ruby-2.1.3@rails41/gems/railties-4.1.7/lib/rails/commands/commands_tasks.rb:69:in `console'

At this point, my only recourse is to kill the terminal shell.

This is running on Yosemite on Mac. I have tried w/ ruby 1.9.3 and 2.1, and with rails 4.0 and 4.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions