gem がエラーはいてちっとも動かない件について

ちょっと shotgun 入れてみようと思ったらこれだよ

% sudo gem install shotgun
Password:
ERROR:  While executing gem ... (ArgumentError)
    uri scheme is invalid

とりあえず google先生にお伺いをたててみる

すると…

Try removing the gem source for rubyonrails.org if it's present.  I 
think the issues they are having with their domain name may be causing 
your problem. 

gem sources --remove http://gems.rubyonrails.org 

That's what worked for me.

Google グループ

なんとまぁ、rubyonrails.org が死んでるのが原因らしい。そんなところが原因だなんてorz

とりあえず確かめてみる。

% gem sources list
*** CURRENT SOURCES ***

http://gems.rubyforge.org
http://gems.rubyonrails.org

入ってた。これだ。

% gem sources --remove http://gems.rubyonrails.org
http://gems.rubyonrails.org removed from sources
% sudo gem install shotgun                        
Password:
Successfully installed shotgun-0.6
1 gem installed
Installing ri documentation for shotgun-0.6...
Installing RDoc documentation for shotgun-0.6...

できたー!