Upgrade rails, set ruby version