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!

On Thu, Dec 4, 2008 at 11:37 PM, Jakob [email protected] wrote:

Any suggestions would be much appreciated!

I have installed everything through MacPorts because it allowed me to
my Ruby and Rails development environment even after an upgrade of Mac
I would recommend not installing anything in subdirectory /usr. At this
time, all my
RoR components are installed in /opt.

Good luck,


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