Rails アプリの開発段階では、rails consoleコマンドを使用する必要があります。このコマンドでは、コマンドをナビゲートしたり、前のコマンドをコンソールに呼び出したりするなど、コマンドを変更する必要もAあります。当然、エラーが発生します.-BCD
さらに、Ruby 2.0.0 と rbenv を使用する Ubuntu でこの問題に直面しました。私のGemfileではpry-rails、rb-readline('~> 0.4.2')のようなgemが定義されています。
NEW 1: から終了する前のエラー出力は次のrails consoleとおりです。
FATAL: Pry failed to get user input using `Readline`.
To fix this you may be able to pass input and output file descriptors to pry directly. e.g.
Pry.config.input = STDIN
Pry.config.output = STDOUT
binding.pry
NEW 2: 実行rails consoleしてから bashも削除しましたが、問題は引き続き発生します。pry-railsGemfile