使用Rails(2.3.18)和Ruby 1.8.7錯誤,同時啓動的WEBrick
引導的WEBrick
script/server
面對問題
=> Booting WEBrick
=> Rails 2.3.18 application starting on localhost:3000
config.load_paths is deprecated and removed in Rails 3, please use autoload_paths instead
config.load_paths= is deprecated and removed in Rails 3, please use autoload_paths= instead
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /home/icicle/.rvm/gems/ruby-1.8.7-p374/gems/rails-2.3.18/lib/rails/gem_dependency.rb:21.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /home/icicle/.rvm/gems/ruby-1.8.7-p374/gems/rails-2.3.18/lib/rails/gem_dependency.rb:104.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /home/icicle/.rvm/gems/ruby-1.8.7-p374/gems/rails-2.3.18/lib/rails/vendor_gem_source_index.rb:119.
NOTE: Gem::SourceIndex#search is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#search called from /home/icicle/.rvm/gems/ruby-1.8.7-p374/gems/rails-2.3.18/lib/rails/vendor_gem_source_index.rb:119.
You're running a version of ruby with no Readline support
Please `gem install rb-readline` or recompile ruby --with-readline.
嘗試「創業板安裝RB-的readline '但仍然存在問題。
也許你只是按照錯誤信息的指示? 「請安裝rb-readline或重新編譯ruby --with-readline。」 – Robin
由於它看起來像你正在使用RVM,請查看[這個答案](http://stackoverflow.com/a/8799283/877472),或者它上面的那個。 –