Railsがインストールできない
どうしたものか。
コマンド gem update --system
C:\>gem install rails
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
OpenURI::HTTPError: 404 Not Found reading http://gems.rubyforge.org/gems/act
ionmailer-2.0.1.gem
うーん。
追記:
で
gem install rails --include-dependencies
としたらできた。
あとは
・動作確認
c:\ruby\webapp\firstディレクトリにアプリケーションを作成する場合。
rails c:\ruby\webapp\first #このディレクトリにウェブアプリケーションの雛形を作成
cd c:\ruby\webapp\first
ruby script/server #サーバ起動
http://localhost:3000/でアクセス。