出于某种原因,我的实时服务器上的 Rails 控制台现在无法加载。我拉了一个新分支,强制检查了新分支(可能是一个坏主意),因为在活动服务器上没有任何真正应该改变的东西(理论上),并且在新分支和 master 上我在尝试时都有以下错误运行控制台:
/home/pastonpaper/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/spec_set.rb:90:in `block in materialize': Could not find pg-0.11.0 in any of the sources (Bundler::GemNotFound)
from /home/pastonpaper/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/spec_set.rb:83:in `map!'
from /home/pastonpaper/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/spec_set.rb:83:in `materialize'
from /home/pastonpaper/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/definition.rb:127:in `specs'
from /home/pastonpaper/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/environment.rb:27:in `specs'
from /home/pastonpaper/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-1.0.3/lib/rubygems-bundler/noexec.rb:41:in `candidate?'
from /home/pastonpaper/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-1.0.3/lib/rubygems-bundler/noexec.rb:60:in `setup'
from /home/pastonpaper/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-1.0.3/lib/rubygems-bundler/noexec.rb:75:in `<top (required)>'
from /home/pastonpaper/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
from /home/pastonpaper/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
from /home/pastonpaper/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from /home/pastonpaper/.rvm/gems/ruby-1.9.3-p194@pastonpaper/bin/ruby_noexec_wrapper:9:in `<main>'
真的不知道如何解决这个问题。这似乎是一个宝石问题,但这怎么可能改变呢?