GitHub User: workmaster2n
I'm using haml and had to change the call to calendar to be of the display format (I had to do = calendar do |date| instead of - calendar do |date|). Is this expected? Ryan had the call to calendar marked as nondisplaying code, but had it the other way initially.
= calendar do |date|
- calendar do |date|
I'm trying to use Passenger and have now twice hosed my install.
I can successfully complete this line of the script in the show notes
curl -L https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash
vim .bashrc # add rbenv to the top
rbenv install 1.9.3-p125
rbenv global 1.9.3-p125
gem install bundler --no-ri --no-rdoc
But when I go to run
# Phusion Passenger (instead of Unicorn)
sudo apt-get -y install libcurl4-openssl-dev apache2-prefork-dev libapr1-dev libaprutil1-dev
sudo gem install passenger --no-ri --no-rdoc
sudo vim /etc/apache2/apache2.conf # modify as instructed by installer
I get a sudo: gem: command not found error.
sudo: gem: command not found
If I exit the deployer session and su deployer from root, I get this error: /home/deployer/.rbenv/bin/rbenv: line 20: cd: /root: Permission denied
/home/deployer/.rbenv/bin/rbenv: line 20: cd: /root: Permission denied
Then running ruby -v gives me this error bash: ruby: command not found when previously that worked for deployer.
bash: ruby: command not found
Any ideas what I'm doing wrong?