install script fixes

This commit is contained in:
albert
2011-10-22 22:30:32 -04:00
parent 45d3500c91
commit 018c8bceea
2 changed files with 3 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ gem install --no-ri --no-rdoc bundler
# Install Passenger
gem install --no-ri --no-rdoc -v 3.0.9 passenger
bash -c '/usr/local/rvm/bin/rvm exec passenger-install-nginx-module --auto --auto-download --prefix=/opt'
bash -c '/usr/local/rvm/bin/rvm exec passenger-install-nginx-module --auto --auto-download --prefix=/opt/nginx'
rm -f /opt/nginx/conf/*.default
# Create user account
@@ -135,7 +135,7 @@ echo "* *"
echo "* You will probably want to create your own branch and *"
echo "* modify the config/deploy/staging.rb and production.rb *"
echo "* files to point to the correct servers. Then run: *"
echo "* cap deploy *"
echo "* cap deploy:setup && cap deploy *"
echo "* *"
echo "* The first account will automatically be made an admin. You *"
echo "* can edit the configuration files by editing *"

View File

@@ -6,7 +6,7 @@ events {
}
http {
passenger_root /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.8;
passenger_root /usr/local/rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9;
passenger_ruby /usr/local/rvm/wrappers/default/ruby;
passenger_user_switching on;
passenger_default_user danbooru;