Skip to content
Browse files

Use RbConfig instead of obsolete and deprecated Config

  • Loading branch information...
1 parent 8704d67 commit 53aa1076d9d14cc38704ce8a9851df7ca4f0adf0 @bearded bearded committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/pprof.rb
2 bin/pprof.rb
@@ -1,3 +1,3 @@
#!/usr/bin/env ruby
require 'rbconfig'
-exec(File.join(File.dirname(__FILE__), 'pprof'), File.join(Config::CONFIG['bindir'], Config::CONFIG['ruby_install_name']), *ARGV)
+exec(File.join(File.dirname(__FILE__), 'pprof'), File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']), *ARGV)

0 comments on commit 53aa107

Please sign in to comment.
Something went wrong with that request. Please try again.