MacにRuby on Railsの開発環境を構築する方法をメモしておきます。 Rubyに関してはrbenvを使うことを前提とします。rbenvのインストールについては以下を参照してください。 Homebrewでrbenvをインストールする 目的この記事では、Ruby on Railsを用いたチーム開発のための環境を構築することを目的とします。何かとトラブルになりやすいバージョン管理や、パッケージの依存関係などを意識しなくとも、他のメンバーがインストールコマンド一発で、同一の開発環境を手に入れれるようにするための手順をまとめました。