Ruby on Railsをインストールするには

Rfmを使い始める最も簡単な方法は、サンプルサイトのソースコードをダウンロードすることです。サンプルサイトのソースコードは下記URLで配布されています。

http://sixfriedrice.com/download/rfm_examples.zip

サンプルサイトを動かすためにRuby on Railsをインストールすることになりますが、RubyGemsが組み込まれていればRailsのインストールは簡単です。Rfmをインストールしたときと同様の手順で、コマンドラインで「sudo gem install -y rails」 と入力するだけです(Windowsでは「gem install -y rails」 と入力します)。

$ sudo gem install -y rails
Password:
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed rake-0.8.4
Successfully installed activesupport-2.3.2
Successfully installed activerecord-2.3.2
Successfully installed actionpack-2.3.2
Successfully installed actionmailer-2.3.2
Successfully installed activeresource-2.3.2
Successfully installed rails-2.3.2
7 gems installed
Installing ri documentation for rake-0.8.4...
Installing ri documentation for activesupport-2.3.2...
Installing ri documentation for activerecord-2.3.2...
Installing ri documentation for actionpack-2.3.2...
Installing ri documentation for actionmailer-2.3.2...
Installing ri documentation for activeresource-2.3.2...
Installing RDoc documentation for rake-0.8.4...
Installing RDoc documentation for activesupport-2.3.2...
Installing RDoc documentation for activerecord-2.3.2...
Installing RDoc documentation for actionpack-2.3.2...
Installing RDoc documentation for actionmailer-2.3.2...
Installing RDoc documentation for activeresource-2.3.2...