how to install ruby on rails with mysql on ubuntu 15

how to install ruby on rails with mysql on ubuntu 15

how to install ruby on rails with mysql on ubuntu 15

I recommend using rvm (http://rvm.io), so in a terminal run

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 then \curl -sSL https://get.rvm.io | bash -s stable --rails

To install everything, including dependencies, in one hit. Note that when using rvm do not use sudo when installing gems.

Colin

The following two Digital Ocean articles may help:

The post from John has made me realise that you have not indicated whether you want to use the machine for rails development or as a production server. If you want it for development then you will not need the apache server referenced by one of his links.

My post did not indicate how to install mysql, but that is very easy, you just need to install mysql-server

Colin