From: Phillip Gawlowski Date: 2008-05-06T18:35:18+09:00 Subject: Re: Very basic question | Ruby + MySql -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A: Because it makes it difficult to follow the conversation. Q: Why is top posting bad? Csongor wrote: | Yeah I tried to instal dbi but this is what I get: | | csongors-mac:dbi-0.2.0 csgyuricza$ ruby setup.rb config | entering config phase... | config done. | csongors-mac:dbi-0.2.0 csgyuricza$ ruby setup.rb setup | entering setup phase... | setting #! line to "#!/System/Library/Frameworks/Ruby.framework/ | Versions/1.8/usr/bin/ruby" | setting #! line to "#!/System/Library/Frameworks/Ruby.framework/ | Versions/1.8/usr/bin/ruby" | /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby | extconf.rb | can't find header files for ruby. | setup failed | 'system /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ | ruby extconf.rb' failed | try "ruby setup.rb --help" for usage | csongors-mac:dbi-0.2.0 csgyuricza$ sudo ruby setup.rb setup | Password: | entering setup phase... | setting #! line to "#!/System/Library/Frameworks/Ruby.framework/ | Versions/1.8/usr/bin/ruby" | setting #! line to "#!/System/Library/Frameworks/Ruby.framework/ | Versions/1.8/usr/bin/ruby" | /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby | extconf.rb | can't find header files for ruby. | setup failed | 'system /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ | ruby extconf.rb' failed | try "ruby setup.rb --help" for usage Well, without the header-files for Ruby and the DB engines you want to use, you won't be able to compile the extensions. Install those, and try again. - -- Phillip Gawlowski Twitter: twitter.com/cynicalryan Blog: http://justarubyist.blogspot.com ~ There's never enough time to do all the nothing you want. -- Calvin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkggJlYACgkQbtAgaoJTgL8PwgCgiC/fF+mEFAmlyeD1uKn3zu4F odAAn29nWVuxq6yZwafzSjfHYkk/A4jQ =xm1c -----END PGP SIGNATURE-----