Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

This question already has an answer here:

How to install ruby on rails on Ubuntu 14.04? Which versions are better to install, and how to install

  • ruby (version)
  • rubygems,
  • rubygems_update -v (version),
  • mysql_server
  • libmysqlclient-dev
  • mysql2,
  • rails -v=(version),
  • rake --version (version),
share|improve this question

marked as duplicate by Eric Carvalho, Luis Alvarado Jul 24 '14 at 19:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 0 down vote accepted

To install MySQL server, use the following command:

apt-get install mysql-server

More information on how to install ruby on rails on an Ubuntu server you can find at:

To install the latest versions of Ruby and Rubygems download the following archives:

cd /root

and execute the following commands:

tar xvzf ruby-2.1.2.tar.gz
cd ruby-2.1.2
make install
cd /root
tar xvzf rubygems-2.2.2.tgz
cd rubygems-2.2.2
ruby setup.rb

then, follow the tutorial above in order to install the latest gem versions etc.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.