Ola! Se você é brasileiro ou é nativo da lingua portuguesa, clique aqui!!
English Readers
Today, while I looking for a GTD (Get Things Done) software, to organize my life. I got some problems to install Tracks 1.7 on Ubuntu 8.10 Intrepid. I needed to make a complete install of Rails, because I'm not a Rails programmer, and I got two problems wich can be happen to you. So, I have some tips for you.
The first problem is related to Mysql ruby gem. This gem need a file called mkmf. This file is only distributed into the Ruby development package. I don't know why, but this is the problem. To solve it and install Mysql ruby gem, do the following:
$ sudo apt-get install ruby-1.8-dev $ sudo gem install mysql
My second problem is related to rake migration. The rake program ask for Openssl library. So, to solve the problem you need to install the libopenssl:
$ sudo apt-get install libopenssl-ruby1.8
Well, that's it! I hope that this post can help you. Good Luck!
Versão em Português
Hoje enquanto procurava por um GTD (Get Things Done), para organizar minha vida, eu me deparei com alguns problemas enquanto tentava instalar o Tracks 1.7 no Ubuntu 8.10 Intrepid. Eu precisei fazer a instalação completa do Rails, pois não estou mais programando com ele, e tive dois problemas que podem acontecer com mais pessoas. Portanto aqui vai a dica para solucioná-los.
O primeiro problema é referente a instalação da Mysql. Ela necessita de um arquivo chamado mkmf. Este arquivo somente é distribuído com o pacote de desenvolvimento do Ruby. Eu não sei por que isto é assim, mas este é o problema, portanto para instalar a gem Mysql, faça o seguinte:
$ sudo apt-get install ruby-1.8-dev $ sudo gem install mysql
O segundo problema que encontrei foi quando tentei rodar o migration. O rake reclamava a falta da biblioteca Openssl. Portanto para solucionar o problema faça o seguinte:
$ sudo apt-get install libopenssl-ruby1.8
Bom essa é minha contribuição para quem passar por um problema parecido com o meu.
Veja também: How to get past the 'require': no such file to load - mkmf (loadError) when installing the "mysql" gem.
Falow!!





![PythonBrasil[5]](http://www.pythonbrasil.org.br/2009/saiba-mais/apoio-divulgue/pythonbrasil-rectangle.gif)
Post new comment