Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Just ran through this setup a couple of things were different for me as of July 20, 2012 or maybe I did something wrong… but any who.
To load RVM I had to use this command: source /usr/local/rvm/scripts/rvm
To start nginx I used all the defaults when letting passenger set things up and found nginx here: /opt/nginx/sbin/nginx
The passenger install tells you to edit the nginx.conf which is located here: /opt/nginx/conf/nginx.conf
Thanks for the update! It looks like you might have been going for a system wide RVM install rather than a local one, which is what is described in the steps above.
If you are installing on a single user, the steps above should work.
Also-- thank you for pointing out the nginx configuration typo—the tutorial now says nginx, which is accessible, as you pointed out at /opt/nginx/conf/nginx.conf.
Also can use this script for init.d service wget -O init-deb.sh http://library.linode.com/assets/660-init-deb.sh sudo mv init-deb.sh /etc/init.d/nginx sudo chmod +x /etc/init.d/nginx sudo /usr/sbin/update-rc.d -f nginx defaults
after that you can control nginx with sudo /etc/init.d/nginx stop sudo /etc/init.d/nginx start sudo /etc/init.d/nginx restart
When installing Nginx from the Ubuntu repositories, the package already comes with its own init script. You should not need to install any additional scripts or software from any other providers to make it work.
As a note, the smallest droplet with 256mb RAM will cause g++ to fail during nginx compilation.
To fix this, resize to the 512mb instance.
Also, as a note, that when following the instructions above - as a second user on the droplet - I ran into the same issue spavbg did. Follow his instructions if you have already created an additional user and are logged in as that in the system.
I was able to run these steps on a 256MB droplet.
However, an alternative is to resize a droplet to 512MB, go through the steps, and then resize back down to a 256MB droplet—this will let you perform the steps without issue and incur almost no additional cost (at most about $.02)