Permalink
Browse files

Simpler way of getting path to perftools.{bundle,so}

  • Loading branch information...
1 parent 399aa3c commit 7944f7f64b6a931ff172f2322c941307ea4b88c6 @tmm1 committed May 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 README
View
2 README
@@ -19,7 +19,7 @@ google-perftools for ruby code
Profile an existing ruby application without modifying it:
- $ CPUPROFILE=/tmp/my_app_profile ruby -r/path/to/perftools.{bundle,so} my_app.rb
+ $ CPUPROFILE=/tmp/my_app_profile RUBYOPT="-r`gem which perftools | tail -1`" ruby my_app.rb
=== Reporting

0 comments on commit 7944f7f

Please sign in to comment.