I have two of your books the “How to Program” and AWDwR and love them both.
Coming from a self taught VBA environment Ruby appears to be a dream come true.
I have installed Instant Rails on my WindowsXP 32bit platform and have been sucessfully following along in the book. That is until I tried the code listed at the top of page 77.
When I enter in ruby script/generate scaffold product > title:string description:text image_url:string
I receive the following error:
Gem::SourceIndex#search support for Regexp patterns is deprecated C:/rubyonrails/ruby/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/rails_generator/looku p.rb:211:in `each’ is outdated
I ran the update methods for both rails and ruby before I started the projects in the book.
What have I done wrong or is this an error in the beta of the book? I am guessing it’s something to due with my skills.
Thanks for the help!