請問如何解決這個問題。我已經安裝了護欄上完美作業邊緣與2.3.3應用和嘗試啓動服務器我已經升級到1.8.7我已經得到了之後(紅寶石1.8.6)關於osx和寶石問題的邊緣導軌問題
$ ruby script/server
=> Booting Mongrel
=> Rails 3.0.pre application starting on http://0.0.0.0:3000
/Library/Ruby/Site/1.8/rubygems.rb:270:in `activate': You have a nil
object when you didn't expect it! (NoMethodError)
You might have expected an instance of Array.
The error occurred while evaluating nil.map
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:35:in
`require'
..........................
$ ruby script/server
./script/../config/../vendor/rails/railties/lib/rails/
vendor_gem_source_index.rb:1:in `require': no such file to load --
rubygems (LoadError)
from ./script/../config/../vendor/rails/railties/lib/rails/
vendor_gem_source_index.rb:1
from ./script/../config/../vendor/rails/railties/lib/rails/
gem_dependency.rb:1:in `require'
from ./script/../config/../vendor/rails/railties/lib/rails/
gem_dependency.rb:1
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:
6:in `require'
from ./script/../config/../vendor/rails/railties/lib/initializer.rb:6
from ./script/../config/boot.rb:45:in `require'
from ./script/../config/boot.rb:45:in `load_initializer'
from ./script/../config/boot.rb:38:in `run'
from ./script/../config/boot.rb:11:in `boot!'
from ./script/../config/boot.rb:110
from script/server:2:in `require'
from script/server:2
有什麼想法?
嗨, 寶石1.3.5,重新安裝 - 相同的結果:(從rubygems更新寶石更新 - 系統 – 2009-08-10 08:10:27