Forum: Ruby on Rails generate error (NameError)

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.
29fd793a5c902a009a38b2d6a10903c5?d=identicon&s=25 Kraz Foo (dkrazfoo)
on 2007-02-08 04:43
I get an error when I try to generate a model or controller.  Any

$ ruby script/generate
./script/../config/boot.rb:26: uninitialized constant Gem (NameError)
        from script/generate:2:in `require'
        from script/generate:2

I used Locomotive 2.0.8 to get RoR on my system.  Thx for your help!
This topic is locked and can not be replied to.