fix rvmrc
upgrade rails
upgrade rails and fix rdoc/task