Update to new ruby versioning convention.
Switch to use of the rails 4-0-stable branch.