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.
3e8661941d1fdfbaa84680d2fab3cbf5?d=identicon&s=25 Skriloff, Nicholas (Guest)
on 2006-04-08 03: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
skriloffn@darden.virginia.edu
59ea1b450935b9d70abfec4186b7a4d5?d=identicon&s=25 Jeff Coleman (progressions)
on 2006-04-08 07: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 Coleman
This topic is locked and can not be replied to.