update rails and use .ruby-version