Forum: Ruby on Rails How do I fix these annoying errors?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Skriloff, Nicholas (Guest)
on 2006-04-08 05:50
(Received via mailing list)
C:\rails\brablog>ruby script/generate scaffold

c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character
class has

`-' without escape

c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character
class has

`-' without escape

c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character
class has

`-' without escape

c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character
class has

`-' without escape

c:/ruby/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: warning: regexp has
`]' wit

hout escape

./script/../config/../config/environment.rb:8: warning: already
initialized cons

tant RAILS_GEM_VERSION



Sincerely,
Nick Skriloff, ME, MCP
Information Technology Specialist
Darden Information Services
Voice 434 243 5025  Fax 434 982 2741
removed_email_address@domain.invalid
Jeff C. (Guest)
on 2006-04-08 09:55
Skriloff, Nicholas wrote:
> C:\rails\brablog>ruby script/generate scaffold
>
> c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character
> class has
>
> `-' without escape
>
> c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character
> class has
>
> `-' without escape
>
> c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character
> class has
>
> `-' without escape
>
> c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character
> class has
>
> `-' without escape
>
> c:/ruby/lib/ruby/site_ruby/1.8/rexml/doctype.rb:196: warning: regexp has
> `]' wit
>
> hout escape
>
> ./script/../config/../config/environment.rb:8: warning: already
> initialized cons
>
> tant RAILS_GEM_VERSION
>

Maybe by entering a name for the model you want to scaffold?

ruby script/generate scaffold posts

ruby script/generate scaffold comments

etc...

Jeff C.man
This topic is locked and can not be replied to.