rails/rails — pull request #12048 by tjouan (2013-08-27 18:52:24+00:00)
Title: Comply with current umask when generating new app

When creating a new application using the default rails generator
(`rails new my_app`), it will apply some permissions bypassing the
current process umask. The `bin' directory and any files inside it will
always be set a mode of 0755.

This change removes the current umask bits from the mode applied by
the generator on the `bin' directory and its content.