rubygemsを新しくすればrubyforgeも入ってくるかな、と考えてtestingのrubygems(1.2.0)を入れた。
では再挑戦。
degas@debian:~/Ruby/ruby_source$ sudo gem install hoe-1.8.2.gem Successfully installed rubyforge-1.0.1 Successfully installed rake-0.8.3 Successfully installed hoe-1.8.2 3 gems installed Installing ri documentation for rubyforge-1.0.1... Installing ri documentation for rake-0.8.3... Installing ri documentation for hoe-1.8.2... Installing RDoc documentation for rubyforge-1.0.1... Installing RDoc documentation for rake-0.8.3... Installing RDoc documentation for hoe-1.8.2...
よし、無事にrubyforge-1.0.1が入った!
続いてmechanizeとhatenaapigraphを入れよう。
degas@debian:~/Ruby/ruby_source$ sudo gem install mechanize-0.8.4.gem Successfully installed mechanize-0.8.4 1 gem installed Installing ri documentation for mechanize-0.8.4... Installing RDoc documentation for mechanize-0.8.4... degas@debian:~/Ruby/ruby_source$ sudo gem install hatenaapigraph-0.2.2.gem Successfully installed hatenaapigraph-0.2.2 1 gem installed Installing ri documentation for hatenaapigraph-0.2.2... Installing RDoc documentation for hatenaapigraph-0.2.2...
ちゃんと入っているか確認。
degas@debian:~/Ruby/ruby_source$ gem list *** LOCAL GEMS *** hatenaapigraph (0.2.2) hoe (1.8.2) hpricot (0.6) mechanize (0.8.4) rake (0.8.3) rubyforge (1.0.1)
これでDebian etchではてなグラフのアップデートが出来るな^_^。
全AMEDAS観測地点対応!はてなグラフ降水量・気温ポストRubyスクリプト - 別館 子子子子子子(ねこのここねこ)