为什么这样才能装上

引用
u2@u2-laptop:~$ sudo gem install ya2yaml --source http://rubygems.org
Successfully installed ya2yaml-0.30
1 gem installed
Installing ri documentation for ya2yaml-0.30...
Installing RDoc documentation for ya2yaml-0.30...

引用

u2@u2-laptop:~$ gem sources
*** CURRENT SOURCES ***

http://gems.github.com/
http://gems.rubyforge.org
http://rubygems.org
http://gems.rubyonrails.org
http://gemcutter.org
http://gems.rubyonrails.org
http://gemcutter.org

u2@u2-laptop:~/endysis$ sudo gem install ya2yaml
ERROR:  Could not find a valid gem 'ya2yaml' (>= 0) in any repository

你可能感兴趣的:(rubygems)