我想跑,我之前運行多少次的Ruby腳本,但收到以下錯誤:無法再運行OSX上紅寶石
~/dev/ruby > ruby foo.rb
Could not find backports-2.3.0 in any of the sources
Run `bundle install` to install missing gems.
~/dev/ruby > bundle install
Could not find backports-2.3.0 in any of the sources
Run `bundle install` to install missing gems.
~/dev/ruby > rvm list
rvm rubies
ruby-1.8.6-p399 [ i686 ]
ruby-1.8.7-p249 [ i686 ]
ruby-1.8.7-p334 [ i686 ]
ruby-1.9.1-p378 [ i386 ]
=> ruby-1.9.2-p180 [ x86_64 ]
* ruby-1.9.2-p290 [ x86_64 ]
ruby-1.9.2-preview1 [ i386 ]
ruby-1.9.3-p0 [ x86_64 ]
ruby-1.9.3-p125 [ x86_64 ]
# => - current
# =* - current && default
# * - default
我,因爲運行此並沒有改變我的任何RVM設置程序最後並沒有對backports-2.3.0做任何事情。
我目前使用RVM 1.10.3運行OSX 10.6.8。嘗試執行任何ruby
命令時出現錯誤。
當你運行irb時會發生什麼? – Maz 2012-03-19 03:18:54
當您嘗試使用其他ruby版本時會發生什麼? – 2012-03-19 04:21:36
@Maz,運行irb會產生相同的消息在任何源中找不到backports-2.3.0 運行'bundle install'安裝缺失的gem。 – 2012-03-20 02:44:58