Final Master 3

Added Rails Factor and PG to Gemfile