Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use RbConfig instead of obsolete and deprecated Config

  • Loading branch information...
commit 53aa1076d9d14cc38704ce8a9851df7ca4f0adf0 1 parent 8704d67
@bearded bearded authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/pprof.rb
View
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)
Please sign in to comment.
Something went wrong with that request. Please try again.