installe rails and db