[Rails] Re: MySQL Installation Issues

2012-08-29 Thread Simon R.
This is an old thread, but if you google the error message, it appears first in the list of results, so it's worth writing a summary. The root of the problem is that to install the mysql gem you need to compile some native code. ("Native code" is software written in a language such as C or C++

[Rails] Re: MySQL Installation Issues

2012-01-12 Thread Puneet S.
Wainer Moschetta wrote in post #773714: > I was facing this same issue. I just installed libmysqlclient15-dev on > my syste (ubuntu 8.10) and could get gem mysql installed successfully > > William Pratt wrote: >> It's very possible that it is looking for libmysqlclient (I am almost >> positive it d

[Rails] Re: MySQL Installation Issues

2011-03-30 Thread bill gate
apt-get install libmysqld-dev will be ok . -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group

[Rails] Re: MySQL Installation Issues

2010-06-15 Thread Jonny Huuan
Mike Montagne wrote: > Abraham Tio wrote: >>> cd /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7 >>> gem install mysql -- >>> --with-mysql-config=/usr/local/mysql/bin/mysql_config >>> Greg Donald >>> http://destiney.com/ >> >> YUP. this works. > > newbie question... > > I was able to get an error f

Re: [Rails] Re: MySQL Installation Issues

2010-03-21 Thread Colin Law
On 21 March 2010 00:48, Mike Montagne wrote: > Abraham Tio wrote: >>> cd /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7 >>> gem install mysql -- >>> --with-mysql-config=/usr/local/mysql/bin/mysql_config >>> Greg Donald >>> http://destiney.com/ >> >> YUP. this works. > > newbie question... > > I was a

[Rails] Re: MySQL Installation Issues

2010-03-20 Thread Mike Montagne
Abraham Tio wrote: >> cd /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7 >> gem install mysql -- >> --with-mysql-config=/usr/local/mysql/bin/mysql_config >> Greg Donald >> http://destiney.com/ > > YUP. this works. newbie question... I was able to get an error free install on OSX Leopard 10.6.2 with

[Rails] Re: MySQL Installation Issues

2010-02-08 Thread Roy Stannard
Kirk Howard wrote: > Whenever you can't build "native extensions", it means there is some lib > or lib-dev missing. Generally you'll need to do a sudo apt-get install > lib-???-dev, or sudo apt-get install build_essential. > > This time, I had to install the following: > 'sudo apt-get install l

[Rails] Re: MySQL Installation Issues

2010-02-07 Thread Henrique Gontijo
I got it working following these steps: 1. Install mysql-devel "yum install mysql-devel" as root 2. Find the location of mysql_config "locate mysql_config" and fix that full path to "--with-mysql-config=" option 3. Success! Best regards. -- Posted via http://www.ruby-forum.com/. -- You receive

[Rails] Re: MySQL Installation Issues

2009-11-01 Thread Will Cain
Greg Donald wrote: > cd /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7 > gem install mysql -- > --with-mysql-config=/usr/local/mysql/bin/mysql_config > -- > Greg Donald > http://destiney.com/ Worked for me too. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---

[Rails] Re: MySQL Installation Issues

2009-08-06 Thread Kirk Howard
Whenever you can't build "native extensions", it means there is some lib or lib-dev missing. Generally you'll need to do a sudo apt-get install lib-???-dev, or sudo apt-get install build_essential. This time, I had to install the following: 'sudo apt-get install libmysqlclient15-dev' Unfortun

[Rails] Re: MySQL Installation Issues

2009-06-22 Thread Third Replicator
I found a blog post that solves this problem ( http://nmanzi.com/?p=39 ) and I turned it into a script so that you just have to run "./ install_mysql_ruby_adapter" http://github.com/thirdreplicator/install_mysql_ruby_adapter_for_ruby1.9/tree/master I run Ruby 1.9.1 on Ubuntu 8.04/8.10 and CentOS

[Rails] Re: MySQL Installation Issues

2009-06-02 Thread Ni Pa
I tried: <-- clip starts --> [root]# gem install mysql -- --with-mysql-config=/usr/bin/mysql_config Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb install mysql -- --with

[Rails] Re: MySQL Installation Issues

2009-05-04 Thread Greg Tucker
Greg Donald wrote: > On Nov 29, 2007 11:32 AM, pete wrote: >> Trying to get rails up and running on my linux box with mysql. When I >> try to install the mysql gem, I get the following: >> >> Building native extensions. This could take a while... >> ERROR: While executing gem ... (Gem::Install

[Rails] Re: MySQL Installation Issues

2009-04-04 Thread John Fatz
This worked for me also. Wainer Moschetta wrote: > I was facing this same issue. I just installed libmysqlclient15-dev on > my syste (ubuntu 8.10) and could get gem mysql installed successfully > > William Pratt wrote: >> It's very possible that it is looking for libmysqlclient (I am almost >>

[Rails] Re: MySQL Installation Issues

2009-04-01 Thread Abraham Tio
> cd /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7 > gem install mysql -- > --with-mysql-config=/usr/local/mysql/bin/mysql_config > Greg Donald > http://destiney.com/ YUP. this works. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received thi

[Rails] Re: MySQL Installation Issues

2009-01-26 Thread Wainer Moschetta
I was facing this same issue. I just installed libmysqlclient15-dev on my syste (ubuntu 8.10) and could get gem mysql installed successfully William Pratt wrote: > It's very possible that it is looking for libmysqlclient (I am almost > positive it does). Install the client / client libs and see i