Browse Source

remove bash_profile.sh from padrino

Lita Gratrix 10 years ago
parent
commit
b3943840ff
2 changed files with 3 additions and 6 deletions
  1. 0 6
      frameworks/Ruby/padrino/bash_profile.sh
  2. 3 0
      frameworks/Ruby/padrino/run_unicorn.sh

+ 0 - 6
frameworks/Ruby/padrino/bash_profile.sh

@@ -1,6 +0,0 @@
-#!/bin/bash
-
-export LC_ALL=en_US.UTF-8 
-export LANG=en_US.UTF-8
-
-export NGINX_HOME=${IROOT}/nginx

+ 3 - 0
frameworks/Ruby/padrino/run_unicorn.sh

@@ -1,4 +1,5 @@
 #!/bin/bash
+export NGINX_HOME=${IROOT}/nginx
 
 # We assume single-user installation as 
 # done in our rvm.sh script and 
@@ -12,6 +13,8 @@ fi
 
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' config/nginx.conf
 
+sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' config/nginx.conf
+
 $NGINX_HOME/sbin/nginx -c $TROOT/config/nginx.conf
 
 DB_HOST=${DBHOST} rvm ruby-2.0.0-p0 do bundle exec unicorn -E production -c config/unicorn.rb &