设计指向先前发布路径的语言环境

时间:2019-04-07 05:24:58

标签: ruby-on-rails devise capistrano rails-i18n

我得到

An I18n::InvalidLocaleData occurred in users#social_sign_in:

  can not load translations from /home/releases/20190221131459/config/locales/devise.en.yml: #<Errno::ENOENT: No such file or directory @ rb_sysopen - /home/releases/20190221131459/config/locales/devise.en.yml>
  i18n (0.7.0) lib/i18n/backend/base.rb:184:in `rescue in load_yml'

所引用的路径错误。我当前的版本是20190330184001

capistrano (2.15.9, 2.15.7)
capistrano-ext (1.2.1)
capistrano-resque (0.2.2, 0.1.0)
capistrano-unicorn (0.2.0)
rvm-capistrano (1.5.6)

我的发布文件夹中也有多个文件夹。这个问题与Capistrano或I18n宝石有关吗??

0 个答案:

没有答案