Ruby On Linux
Depending on the distribution you are using, there are several ways to install Ruby. The first option is simply to download the source code and compile by hand. However, on some platforms, there are package management solutions that make installing Ruby extremely easy.
For example, on Debian or Ubuntu apt-get provides an easy and elegant solution:
% sudo apt-get install ruby irb rdoc
For irb and rdoc you will need to enable the universe repository.
% sudo apt-get install rubygems
% sudo gem install rails -y
then install the database
% apt-get install mysqlserver libmysqlruby
No comments :
Post a Comment