Skip to content

Commit

Permalink
Fix deprecation error.
Browse files Browse the repository at this point in the history
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
Ichimonji10 committed May 9, 2013
1 parent 5c3213a commit bea6026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/vim-ruby-install.rb
Expand Up @@ -12,7 +12,7 @@
# #


require 'rbconfig' require 'rbconfig'
include Config include RbConfig
require 'fileutils' require 'fileutils'
require 'optparse' require 'optparse'
require 'pathname' require 'pathname'
Expand Down

0 comments on commit bea6026

Please sign in to comment.