0
在capistrano/maintenance
寶石中,我無法設置:maintenance_template_path
變量的路徑。配置maintenance_template_path爲'capistrano-maintenace'寶石
我已經試過
# Set the maintenance file path
set :maintenance_template_path, '/views/errors/maintenance'
set :maintenance_template_path, '/errors/maintenance'
set :maintenance_template_path, '/app/views/errors/maintenance'
set :maintenance_template_path, '/errors/maintenance.erb.html'
set :maintenance_template_path, '/views/errors/maintenance.erb.html'
set :maintenance_template_path, 'app/views/errors/maintenance.erb.html'
我不斷收到No such file or directory @ rb_sysopen
錯誤。
的文件是在正確的位置/Users/David/Documents/Development/myRailsApp/app/views/errors/maintenance.erb.html
什麼是正確的配置?