1
我正在嘗試導軌3,我正在使用RVM來管理ruby版本。使用RVM我已經安裝了ruby版本1.8.7,1.9.1和1.9.2。Rails3導軌控制檯崩潰拋出錯誤
當我做「軌控制檯」我收到以下錯誤和控制檯沒有啓動:
/home/syed/.rvm/rubies/ruby-1.9.2-preview3/lib/ruby/1.9.1/irb/completion.rb:9:in `require': no such file to load -- readline (LoadError)
from /home/syed/.rvm/rubies/ruby-1.9.2-preview3/lib/ruby/1.9.1/irb/completion.rb:9:in `<top (required)>'
from /home/syed/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta4/lib/rails/commands/console.rb:3:in `require'
from /home/syed/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta4/lib/rails/commands/console.rb:3:in `<top (required)>'
from /home/syed/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta4/lib/rails/commands.rb:20:in `require'
from /home/syed/.rvm/gems/ruby-1.9.1-p378/gems/railties-3.0.0.beta4/lib/rails/commands.rb:20:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
因爲我不需要任何1.9.1以上了Rails 3,我未上班 - 使用以下命令安裝它:
rvm uninstall ruby-1.9.1
仍導軌控制檯崩潰。難道我做錯了什麼?
這並沒有爲我工作原樣,但按照指示在http://blog.jasonmeridth.com /2010/11/25/readline-error-with-rvm-and-rails-3.html我設法讓它在m上運行y RVM安裝。 – 2010-12-17 08:25:54