Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
mySQL Ruby Gem and MAMP mySQL
Mark Meijer
2/2/2008 7:00:00 PM
I'm not having much luck installing the mysql Ruby gem to use the mySQL
in MAMP, anyone tried this?
Using MAMP v1.7.1.
Ruby Gems v0.9.5
arbutus:mysql walkinthere$ sudo gem install mysql --
--with-mysql-config=/Applications/MAMP/Library/bin/mysql_config
Password:
Building native extensions. This could take a while...
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
extconf.rb install mysql --
--with-mysql-config=/Applications/MAMP/Library/bin/mysql_config
checking for mysql_ssl_set()... no
checking for mysql.h... no
checking for mysql/mysql.h... no
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/mysql-2.7
for inspection.
Results logged to /Library/Ruby/Gems/1.8/gems/mysql-2.7/gem_make.out
--
Posted via
http://www.ruby-...
.
3 Answers
louis
2/2/2008 7:13:00 PM
0
i haven't done this--but perhaps this might help:
http://bluebones.net/2007/12/mysql-driver-for-ruby-with-mam...
(since you're running osx)
HTH,
louis
On Feb 2, 2008 2:00 PM, Mark Meijer <mtlmeijer@gmail.com> wrote:
>
> I'm not having much luck installing the mysql Ruby gem to use the mySQL
> in MAMP, anyone tried this?
>
> Using MAMP v1.7.1.
> Ruby Gems v0.9.5
>
>
> arbutus:mysql walkinthere$ sudo gem install mysql --
> --with-mysql-config=/Applications/MAMP/Library/bin/mysql_config
> Password:
> Building native extensions. This could take a while...
> ERROR: Error installing mysql:
> ERROR: Failed to build gem native extension.
>
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
> extconf.rb install mysql --
> --with-mysql-config=/Applications/MAMP/Library/bin/mysql_config
> checking for mysql_ssl_set()... no
> checking for mysql.h... no
> checking for mysql/mysql.h... no
>
>
> Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/mysql-2.7
> for inspection.
> Results logged to /Library/Ruby/Gems/1.8/gems/mysql-2.7/gem_make.out
> --
> Posted via
http://www.ruby-...
.
>
>
Mark Meijer
2/2/2008 7:20:00 PM
0
thanks Louis,
Does the mySQL Ruby Gem then point to mySQL in MAMP?
Or to the external mySQL that comes with OSX?
--
Posted via
http://www.ruby-...
.
louis
2/3/2008 4:19:00 AM
0
my guess--and it's *only* a guess--given the instructions on that
page, is that he compiled his own mysql (looking at his dir) and that
it'll point to whichever one you want it to. but i want to repeat:
<caps>i have no experience with mamp or what you're trying to
do</caps>. i was just offering my thoughts for what they might be
worth.
good luck.
:-)
louis
On Feb 2, 2008 2:20 PM, Mark Meijer <mtlmeijer@gmail.com> wrote:
>
>
> thanks Louis,
>
>
> Does the mySQL Ruby Gem then point to mySQL in MAMP?
>
> Or to the external mySQL that comes with OSX?
>
>
>
>
>
>
> --
>
> Posted via
http://www.ruby-...
.
>
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
mySQL Ruby Gem and MAMP mySQL
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password