From 192f17d818ee6855c3484f5ba5151cad9ec7d4e1 Mon Sep 17 00:00:00 2001 From: Godwin Date: Sun, 3 May 2015 15:27:53 -0700 Subject: [PATCH] Fixed language detection for our preview environment --- config/unicorn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/unicorn.rb b/config/unicorn.rb index ee6f039..46a86d6 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -8,7 +8,7 @@ dir = 'rails' worker_processes 2 # We deploy with capistrano, so "current" links to root dir of current release -directory "/home/rails" +directory = "/home/rails" port = 8080 if ENV['RAILS_ENV'] == 'preview'