diff --git a/Procfile b/Procfile index 5c636c672..e8f6364de 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: bundle exec ruby web.rb -p $PORT +web: ruby web.rb -p $PORT diff --git a/web.rb b/web.rb index 6f2f81b66..4e534c3db 100644 --- a/web.rb +++ b/web.rb @@ -6,7 +6,7 @@ configure do use Rack::SslEnforcer if ENV['FORCE_SSL'] I18n.enforce_available_locales = true - I18n.load_path = Dir[File.join(settings.root, 'locales', '*.yml')] + I18n.load_path = Dir[File.join(File.dirname(__FILE__), 'locales', '*.yml')] I18n.backend.load_translations I18n.default_locale = :en end