简体   繁体   中英

Rails console glitches in Ubuntu with Rails 4.1

I have a default DigitalOcean VPS running ubuntu + ngnx + unicorn (from the predefined images). When I connect to the box via ssh everything works fine, until I fire rails c , then when I leave the console, bash starts to perform all types of glitches - half of the commands get missing letters, sometimes it shows the rails console prompt, sometimes the ubuntu one. It's basically unusable. Any idea what to poke for this problem?

I am using rails 4.1 in production mode.

Maybe that's not what you would like to ear, but you can try a different shell (maybe ZSH plus OhMyZsh!):

sudo apt-get install zsh  

then

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Source:
https://github.com/robbyrussell/oh-my-zsh

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM