我跑bundle install
,它很成功。然而,當我跑ruby script/server
,我得到了很多的消息在服務器真正開始:我該如何解決寶石貶損問題?
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:127.
我該如何解決這個問題?
嘗試更新時得到此錯誤更新rubygems-update 錯誤:執行gem時(Gem :: RemoteFetcher :: FetchError) Errno :: ETIMEDOUT:連接超時 - 連接(2 )(http://rubygems.org/gems/rubygems-update-1.8.11.gem) –
你使用rvm嗎?你嘗試'sudo寶石更新 - 系統' – apneadiving
雅我試過sudo寶石更新 - 系統,但多數民衆贊成,當我得到這個錯誤..我沒有使用RVM,我認爲問題是與寶石源服務器..可能是IL必須給一些其他來源!不知道這是否會工作 –