FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix deprecation error. · vim-ruby/vim-ruby@bea6026 · GitHub

Commit bea6026

Browse files
committed
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.
1 parent 5c3213a commit bea6026

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎bin/vim-ruby-install.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#
1313

1414
require 'rbconfig'
15-
include Config
15+
include RbConfig
1616
require 'fileutils'
1717
require 'optparse'
1818
require 'pathname'

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL