简体   繁体   中英

how to run rails project after doing checkout using svn?

我已经将Rails项目检入到svn信息库中。现在我想在本地服务器上运行该项目。我输入了rails server命令来运行它,但出现错误,找不到或读取.yml文件。签出一些Rails项目以便在本地服务器上运行后要采取的步骤。

cd into the directory containing the Gemfile and then do either rails s or bundle exec rails s . The error you are describing usually happens to me when I am not in the same dir as the Gemfile and Rails cannot find the database.yml file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM