2012-04-20 2 views
1

레일 3.2.1을 사용하는 레일 어플리케이션에서 작업하고 있습니다. 나는 그것을 위해 별도의 보석 세트를 만들고 보석을 설치했다. 지금까지 모든 일이 잘 작동하지만 난 콘솔 내가 다음과 같은 오류를 얻고 레일에 갈 때 : 레일 콘솔이 레일에서 작동하지 않습니다. 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 -로드 - readline 아마 도움이 될 것입니다. – zishe

답변

0

rvm을 사용한 루비 설치로 인해 비슷한 문제가 발생했습니다.

이 문제를 해결하려면, 내 루비 버전을 제거하고 나는이 명령으로 intalled :

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

나는 그것이 도움이되기를 바랍니다

관련 문제