コンテンツ
2013/02/22 追記
Ruby1.8-fullというパッケージで1.8がまとめてインストールできるみたいです。
Raspberry piを使ってみる – Ruby1.8をまとめてインストール – | Linuxとかをつついてみるブログ
コマンド
いつものapt-get
sudo apt-get install ruby
実行時のログ
pi@raspberrypi ~ $ sudo apt-get install ruby Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libruby1.9.1 libyaml-0-2 ruby1.9.1 Suggested packages: ri ruby-dev ruby1.9.1-examples ri1.9.1 graphviz ruby1.9.1-dev ruby-switch The following NEW packages will be installed: libruby1.9.1 libyaml-0-2 ruby ruby1.9.1 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 4,398 kB/4,454 kB of archives. After this operation, 12.1 MB of additional disk space will be used. Do you want to continue [Y/n]? Y Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libruby1.9.1 armhf 1.9.3.194-1 404 Not Found Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main ruby1.9.1 armhf 1.9.3.194-1 404 Not Found Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/r/ruby1.9.1/libruby1.9.1_1.9.3.194-1_armhf.deb 404 Not Found Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/r/ruby1.9.1/ruby1.9.1_1.9.3.194-1_armhf.deb 404 Not Found E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
arm用のrubyがないよ、って言っている気がする。
うーん、ないものは仕方ない。ソースとかdebパッケージからのインストールになるのかも