I'm working my way through Agile Web Development with Rails and am running into this problem on a shared system (Dreamhost).
[******]$ ruby script/generate controller Say
Rails requires RubyGems >= 1.3.2 (you have 1.3.1). Please `gem update --system` and try again.
[******]$ gem update --system
Updating RubyGems
Updating rubygems-update
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory.
The problem is that I am not root (or lack permissions on /usr/lib/....). How do I solve this? There must be a configuration file I can set somewhere?/
Thanks in advance!