Tips dan Trik : Membunuh Pesan Deprecated Error. ./script/../config/boot.rb:26:Warning: Gem::SourceIndex#search support for String patterns is deprecated, use #find_name

Posted: August 5, 2009 in RUBY
Tags: , , , , , , , , , ,

Dapatnya dari Googling, itu hasil pencariannya cuma 4, bahasa Jepang semua, nah source ini adalah translitannya yg sudah di Inggris kan oleh Google Translit.

Before

hardhitter:ad_new arie$ script/about
./script/../config/boot.rb:26:Warning: Gem::SourceIndex#search support for String patterns is deprecated, use #find_name
About your application's environment
Ruby version                 1.8.7 (i686-darwin9)
RubyGems version             1.3.4
Rails version                1.2.3
Active Record version        1.15.3
Action Pack version          1.13.3
Action Web Service version   1.2.3
Action Mailer version        1.3.3
Active Support version       1.4.2
Application root             /Users/arie/Documents/adpoint_enhancement/ad_new
Environment                  development
Database adapter             mysql

After

hardhitter:ad_new arie$ script/about
About your application's environment
Ruby version                 1.8.7 (i686-darwin9)
RubyGems version             1.3.4
Rails version                1.2.3
Active Record version        1.15.3
Action Pack version          1.13.3
Action Web Service version   1.2.3
Action Mailer version        1.3.3
Active Support version       1.4.2
Application root             /Users/arie/Documents/adpoint_enhancement/ad_new
Environment                  development
Database adapter             mysql

Bye Bye Deprecated Error !

Comments

tinggalkan feedback konstruktif atau lebih baik diam

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s