Just fixed a typo and added a warning

Honest mistake I took from pasting it from my own system :)
This commit is contained in:
bsides 2013-05-22 18:13:57 -03:00
parent 7f7a770f3b
commit 1b12ebb11e
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,7 @@ In the case you want Apache2 INSTEAD nginx to serve your static pages:
sudo vim /etc/apache2/mods-available/passenger.conf sudo vim /etc/apache2/mods-available/passenger.conf
# Inside, paste (change the user accodingly) # Inside, paste (change the user accodingly)
PassengerRoot /home/rafael/.rvm/gems/ruby-2.0.0-p0/gems/passenger-4.0.2 PassengerRoot /home/YOUR-USER/.rvm/gems/ruby-2.0.0-p0/gems/passenger-4.0.2
PassengerDefaultRuby /home/YOUR-USER/.rvm/wrappers/ruby-2.0.0-p0/ruby PassengerDefaultRuby /home/YOUR-USER/.rvm/wrappers/ruby-2.0.0-p0/ruby
# Now activate them all # Now activate them all
@ -89,6 +89,7 @@ In the case you want Apache2 INSTEAD nginx to serve your static pages:
sudo service apache2 reload sudo service apache2 reload
sudo service apache2 restart sudo service apache2 restart
If you get any errors starting or reloading apache, please check the paths above - Ruby 2.0 should be there if you are using RVM, but it could get tricky.
## Install rvm and ruby environment ## Install rvm and ruby environment