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 On May 5, 10:20 pm, Phillip Gawlowski <cmdjackr... / googlemail.com> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Csongor wrote: > > | Philip, > | > | Thanks for the response. I wasn't, but I just did a quick test and > | require 'rubygems' is giving me a false. Look: > | > | sh-3.2# ruby -v > | ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0] > | sh-3.2# gem -v > | 1.1.1 > | sh-3.2# irb > |>> require 'rubygems' > | => false > | > | Any ideas? > > Well, it looks like you didn't install Ruby-DBI, since 'dbi' is what you > need for the require. > > Fortunately, the RDoc files for Ruby-DBI show you the installation: > > http://ruby-dbi.rubyforge.org/rdoc/index.html > > - -- > Phillip Gawlowski > Twitter: twitter.com/cynicalryan > Blog:http://justarubyist.blogspot.com > > ~ - You know you've been hacking too long when... > ..you start dreaming code. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.8 (MingW32) > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > iEYEARECAAYFAkgf6qUACgkQbtAgaoJTgL/25QCfWmCWsHysuQJHbNm/TpmULEVt > legAn0wn6R+ClVOySgQyHouH09O0HJT9 > =A49m > -----END PGP SIGNATURE-----