diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-11 09:17:38 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-11 09:17:38 +0000 |
commit | 17250c91570d3ba20a4dbbe5746d4558f1a34c87 (patch) | |
tree | c3c1b81abee6f583fd3d878ab949d9822c3e9542 /railties/bin | |
parent | e234115b630d05c0868a60eca65142ff3137064f (diff) | |
download | rails-17250c91570d3ba20a4dbbe5746d4558f1a34c87.tar.gz rails-17250c91570d3ba20a4dbbe5746d4558f1a34c87.tar.bz2 rails-17250c91570d3ba20a4dbbe5746d4558f1a34c87.zip |
Fixed script/profiler for Ruby 1.8.2 #1863 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/bin')
-rw-r--r-- | railties/bin/profiler | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/bin/profiler b/railties/bin/profiler index d8927a1c49..d84c8b739f 100644 --- a/railties/bin/profiler +++ b/railties/bin/profiler @@ -26,6 +26,7 @@ begin require 'rubyprof_ext' Prof.print_profile(results, $stderr) rescue LoadError + require 'profiler' $stderr.puts 'Using the standard Ruby profiler.' Profiler__.start_profile profile_me |