Browse files

Fix deprecation error.

Without fix, this error message appears:

    bin/vim-ruby-install.rb:15:in `<main>': Use RbConfig instead of obsolete and deprecated Config.

    uninitialized constant Env::CONFIG
    Try 'ruby bin/vim-ruby-install.rb --help' for detailed usage.
  • Loading branch information...
1 parent 5c3213a commit bea6026e78ac2e4ee598430ff2dd8b707f95bc2e @Ichimonji10 Ichimonji10 committed May 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/vim-ruby-install.rb
@@ -12,7 +12,7 @@
require 'rbconfig'
-include Config
+include RbConfig
require 'fileutils'
require 'optparse'
require 'pathname'

0 comments on commit bea6026

Please sign in to comment.