Warning: Gem::SourceIndex#search


C:\Ruby\SITES>cd myapp

C:\Ruby\SITES\myapp>ruby script/server
./script/…/config/boot.rb:25:Warning: Gem::SourceIndex#search support
for Strin
g patterns is deprecated, use #find_name
./script/…/config/boot.rb:28: undefined method require_gem' for main:Object (N oMethodError) from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:inge
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `re
from script/server:2


Good day to all of the member of RoR Talk Group!

I’m having a problem with running this sample script on my tutorials
at Lynda.com.
It displayed the following message above…

To people who know this one, can you tell me what’s the problem… .
with the sample script.

thanks and have a nice day ahed. =)

The tutorial you are using must be ancient - require_gem was
deprecated quite some time ago. You may want to find a more recent

–Matt J.