Generate error (NameError)

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs