четверг, 14 июня 2012 г.

Ubuntu Rails3 rvm

Original please see: http://thekindofme.wordpress.com/2010/10/24/rails-3-on-ubuntu-10-10-with-rvm-passenger-and-nginx/

Before installation:
sudo apt-get update
sudo apt-get install build-essential git-core curl libmysqlclient-dev nodejs
sudo apt-get install libtool
sudo apt-get install gcc

Install rvm:
curl -L https://get.rvm.io | bash -s stable --ruby

If you have problem due installing nginx(openssl) please see:
http://jamiecurle.co.uk/blog/setting-up-rails-in-ubuntu-10-dot-04-using-nginx-and-passenger/


Install nginx+passenger and make it as service:
https://gist.github.com/sathishmanohar/5491263

1 комментарий: