Created
February 16, 2010 21:06
-
-
Save xenda/305919 to your computer and use it in GitHub Desktop.
Instalación Ruby y Rails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Instalamos las cabeceras y la gema | |
sudo apt-get install libmysqlclient-dev | |
sudo gem install mysql --no-rdoc --no-ri |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Dependencias previas | |
sudo apt-get install libc6 libpcre3 libpcre3-dev libpcrecpp0 libssl0.9.8 libssl-dev zlib1g zlib1g-dev lsb-base | |
#Instalamos Passenger | |
sudo gem install passenger | |
sudo passenger-install-apache-module | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Instalamos Rails | |
sudo gem install rails --no-rdoc --no-ri |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Actualizamos los repositorios | |
sudo apt-get update | |
sudo apt-get dist-upgrade | |
#Instalamos lo necesario para compilar Ruby | |
sudo apt-get install build-essential | |
#Cerramos los ojos y pegamos esto orando que todo instale bien | |
sudo apt-get install ruby ri rdoc mysql-server libmysql-ruby ruby1.8-dev irb1.8 libdbd-mysql-perl libdbi-perl libmysql-ruby1.8 libmysqlclient15off libnet-daemon-perl libplrpc-perl libreadline-ruby1.8 libruby1.8 mysql-client-5.0 mysql-common mysql-server-5.0 rdoc1.8 ri1.8 ruby1.8 irb libopenssl-ruby libopenssl-ruby1.8 libhtml-template-perl mysql-server-core-5.0 libmysqlclient16 libreadline5 psmisc | |
#Instalamos Rubygems | |
wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz | |
tar xvzf rubygems-1.3.5.tgz | |
cd rubygems-1.3.5 | |
sudo ruby setup.rb | |
#Si no se ha creado el binario "gem" hacer: | |
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment