Errors with my generate

Hi there, I’m getting the following errors with my generate script. I
haven’t changed anything, it just started happening one day. It also
does this when i create a migration:

penoir> ruby script/generate controller Gallery::Artist -p
create app/controllers/gallery
create app/helpers/gallery
create app/views/gallery/artist
create test/functional/gallery
create app/controllers/gallery/artist_controller.rb
create test/functional/gallery/artist_controller_test.rb
create app/helpers/gallery/artist_helper.rb
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
require__': No such file to load -- Gallery::Artist (MissingSourceFile) from C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
from
C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
require' from C:/ruby/lib/ruby/1.8/test/unit/collector/dir.rb:84:incollect_file’
from C:/ruby/lib/ruby/1.8/test/unit/collector/dir.rb:70:in
recursive_collect' from C:/ruby/lib/ruby/1.8/test/unit/collector/dir.rb:26:incollect’
from C:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:61
from C:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:55:in []' from C:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:192:inrun’
from C:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:14:in `run’
from C:/ruby/lib/ruby/1.8/test/unit.rb:285
from C:/ruby/lib/ruby/1.8/test/unit.rb:283
penoir>

Any help would be greatly appreciated. It’s Rails 1.1.2

Cheers,

Brendon

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