Forum: Ruby on Rails error when running 'ruby script\generate controller pages'

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
9bf5defe25030e539ac1cfaa309eda7c?d=identicon&s=25 scot (Guest)
on 2007-03-06 20:45

I have just upgraded rails to version 1.2.2, however whenever I got to
generate a controller I get the following error, any ideas?
(im uisng instant rails on a windows)

C:\InstantRails\rails_apps\uni>ruby script\generate controller pages
./script/../config/boot.rb:29: undefined method `gem' for main:Object
        from script/generate:2

This topic is locked and can not be replied to.