cd ~/learn-chef/cookbooks
git clone https://github.com/Matho/chef_passenger_ubuntu.git
cd ~/learn-chef/cookbooks/passenger_ubuntuShow status of your VM
kitchen listCreate virtual machine for kitchen
kitchen createApply the cookbook to ubuntu virtual machine
kitchen convergeLogin to your vm, if you want to check changes
kitchen loginShow your deployed webapp. Open this ip in your browser. You should see your rails app
192.168.34.34If you want to clean your vm
kitchen destroy- sudo recipes make problems
- create default ruby not working, problems with rvm running in non interactive shell?