Rails3 を Bundler でインストールする - How to Install Rails3 by Bundler
手順 - Procedure
1.0.0.rc の Bundler をインストール。 - Install the Bundler of 1.0.0.rc.
$ sudo gem install bundler --pre
アプリケーションを作成していく。 - Now we're going to create the application.
$ mkdir rails3 $ cd rails3 $ bundle init
Gemfile を以下のように編集。 - Edit Gemfile as follows.
source :gemcutter gem "rails", "3.0.0.rc"
gem パッケージの一括インストール。 - Install gem packages in one lump.
$ bundle install
アプリケーションの作成(データベースに MySQL を指定)。 - Create the application (assigns the database as MySQL).
$ rails new . --database=mysql
サーバの立ち上げ(Rails3 からは、script/xxx が rails xxx になった)。 - Boot the server (From Rail3, script/xxx changes to rails xxx).
$ rails server
http://localhost:3000/ で確認。 - Confirm works at http://localhost:3000/ .
−ω− Enjoy Rails3!!