fix method redefined warning in Ruby2.0 #6711

Merged
merged 1 commit into from Jun 12, 2012

Conversation

Projects
None yet
2 participants
@takkanm
Contributor

takkanm commented Jun 12, 2012

I found following warning in Ruby2.0.0dev(2012-06-12 trunk 36037).

activesuport/lib/active_support/core_ext/load_error.rb:9: warning: method redefined; discarding old path

Ruby2.0 already has LoadError#path.

see http://bugs.ruby-lang.org/issues/show/5221

fix method redefined warning in Ruby2.0
Ruby2.0 already has LoadError#path.

josevalim added a commit that referenced this pull request Jun 12, 2012

@josevalim josevalim merged commit 122f6de into rails:master Jun 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment