How to install ruby on rails with mysql on ubuntu 15


#1

how to install ruby on rails with mysql on ubuntu 15


#2

On 23 March 2016 at 05:22, Aman A. removed_email_address@domain.invalid wrote:

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


#3

The following two Digital Ocean articles may help:

https://www.digitalocean.com/community/tutorials/how-to-install-rails-apache-and-mysql-on-ubuntu-with-passenger

https://www.digitalocean.com/community/tutorials/how-to-use-mysql-with-your-ruby-on-rails-application-on-ubuntu-14-04


#4

On 23 March 2016 at 05:22, Aman A. removed_email_address@domain.invalid wrote:

how to install ruby on rails with mysql on ubuntu 15

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