2012-04-20 11 views
1

私は、レール3.2.1を使用するレールアプリケーションで作業しています。私はそれのための別の宝石セットを作成し、宝石をインストールしました。今まですべてのものはうまく働いたが、私は、コンソールをレールに行くとき、私は次のエラーを取得しています:rails consoleがレールで動作していません。3.2.1

/home/santosh/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/irb/completion.rbin require': no such file to load -- readline (LoadError) 
from /home/santosh/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/irb/completion.rb:9:in' 
from /home/santosh/.rvm/gems/[email protected]/gems/railties-3.2.1/lib/rails/commands/console.rbin require' 
from /home/santosh/.rvm/gems/[email protected]/gems/railties-3.2.1/lib/rails/commands/console.rb:3:in' 
from /home/santosh/.rvm/gems/[email protected]/gems/railties-3.2.1/lib/rails/commands.rb:38:in require' 
from /home/santosh/.rvm/gems/[email protected]/gems/railties-3.2.1/lib/rails/commands.rb:38:in' 
from script/railsin require' 
from script/rails:6:in' 

はグーグルを通じて閲覧およびreadlineのが、無使用のインストールを試してみました。だからどこが間違っているの?

+0

http://stackoverflow.com/questions/4385549/no-such-file -to-load-readlineおそらくこれが役に立ちます。 – zishe

答えて

0

私はrvmによるルビーインストールのために同様の問題がありました。

この問題を解決するために、私は私のRubyのバージョンをアンインストールし、私は、このコマンドでそれをintalled:

rvm install 1.9.2 --with-readline-dir=$rvm_path/.rvm/usr

私はそれが役に立てば幸い

関連する問題