updated rails version to always be 4