Problems upgrading to Rails 2.2.2

Hi all,

I've just a new macbook and I need to work with rails 2.2 and not the
version as installed with leopard. I updated gems to 1.3.1 without any
trouble (using gem update --system) but when i try to install rails
with the gem command all i get is this:

ERROR: While executing gem ... (NoMethodError)
    undefined method `include?' for nil:NilClass

Any suggestions would be much appreciated!

Hi all,

I’ve just a new macbook and I need to work with rails 2.2 and not the

version as installed with leopard. I updated gems to 1.3.1 without any

trouble (using gem update --system) but when i try to install rails

with the gem command all i get is this:

ERROR: While executing gem … (NoMethodError)

undefined method `include?' for nil:NilClass

Any suggestions would be much appreciated!

I have installed everything through MacPorts because it allowed me to better maintain

my Ruby and Rails development environment even after an upgrade of Mac OS. Thus,

I would recommend not installing anything in subdirectory /usr. At this time, all my

RoR components are installed in /opt.

Good luck,

-Conrad

Thanks! However, it seems that specifying the installation path with
gem install rails worked for some reason
/Jakob