Skip to content

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)