Warning: Gem::SourceIndex#search

C:\Ruby\SITES\firstproject>cd..

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:in `ge
m_original_require'
        from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `re
quire'
        from script/server:2

C:\Ruby\SITES\myapp>

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
example...

--Matt Jones