Organize and set missing gem version.
Add rails12 factor gem.
Update and define specific ruby version.