summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-12-28 02:14:56 +0100
committermh <mh@immerda.ch>2011-12-28 02:14:56 +0100
commitf498fa4f3453387ba669abdea3bea64b03b78e76 (patch)
treeba24fedca7106bae4b269535bdcc057f8e0b75a3 /templates
parent56b558c9e49cda84a047f339b5671cccb2bc1166 (diff)
set gem_home for the ruby apps
Diffstat (limited to 'templates')
-rw-r--r--templates/vhosts/passenger/partial.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/vhosts/passenger/partial.erb b/templates/vhosts/passenger/partial.erb
index 3b314ce..abbec79 100644
--- a/templates/vhosts/passenger/partial.erb
+++ b/templates/vhosts/passenger/partial.erb
@@ -1,6 +1,7 @@
+ SetEnv GEM_HOME <%= gempath %>
<Directory <%= documentroot %>/>
AllowOverride <%= allow_override %>
Options <%- unless options.to_s == 'absent' -%><%= options %><%- end -%><%- unless !options.to_s.include?('MultiViews') -%>-MultiViews<%- end -%>
<%= scope.function_template('apache/vhosts/partials/authentication.erb') %>
- </Directory> \ No newline at end of file
+ </Directory>