Fix redirect_uri name and rake task loading for rails projects