上下文: rails 3.2.18,capistrano 2.14.2,1.2.7。thinking-sphinx 3.1.1,turbo-链轮--在capfile在生产模式中未注释时,铁路3 0.3.14部署失败时
executing `Errno::ENOENT: No such file or directory - /Users/me/fna/releases/20140826161316/conf
我有一个rails应用程序,它被设置为与Capistrano一起部署到两个不同的服务器中的一个(取决于用户选择部署到哪个服务器)。我想为rails应用程序创建一个环境变量,这取决于网站部署到哪个服务器。在我的Capistrano部署(config/ployy.rb)文件中,我有一个变量"stages“,其中有两个选项供用户部署到:
set :stages, %w(production stagin