さくらインターネット

Railsを動かすのに、いろいろ苦労していまする(;_;)
やっと Railsも 1.1.4 だけど

$ sudo gem install ruby-postgres
Need to update 13 gems from http://gems.rubyforge.org
.............
complete
Select which gem to install for your platform (i386-linux)
 1. ruby-postgres 0.7.1.2006.04.06 (ruby)
 2. ruby-postgres 0.7.1.2006.04.06 (mswin32)
 3. ruby-postgres 0.7.1.2006.04.05 (mswin32)
 4. ruby-postgres 0.7.1.2006.04.05 (ruby)
 5. ruby-postgres 0.7.1.2005.12.21 (ruby)
 6. ruby-postgres 0.7.1.2005.12.21 (mswin32)
 7. ruby-postgres 0.7.1.2005.12.20 (mswin32)
 8. ruby-postgres 0.7.1.2005.12.20 (ruby)
 9. ruby-postgres 0.7.1.2005.12.19 (mswin32)
 10. ruby-postgres 0.7.1.2005.12.19 (ruby)
 11. ruby-postgres 0.7.1.2005.11.27 (mswin32)
 12. ruby-postgres 0.7.1.2005.11.27 (ruby)
 13. ruby-postgres 0.7.1.2005.11.26 (ruby)
 14. ruby-postgres 0.7.1.2005.11.24 (ruby)
 15. ruby-postgres 0.7.1.2005.11.24 (mswin32)
 16. ruby-postgres 0.7.1.2005.11.23 (ruby)
 17. Cancel installation
> 1
Building native extensions.  This could take a while...
can't find header files for ruby.

ERROR:  While executing gem ... (RuntimeError)
    ERROR: Failed to build gem native extension.
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/ruby-postgres-0.7.1.2006.04.06 for inspection.


Results logged to /usr/lib/ruby/gems/1.8/gems/ruby-postgres-0.7.1.2006.04.06/gem_make.out

結局

$ sudo gem install postgres-pr

で逃げましたけど。