aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-09-11 09:17:38 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-09-11 09:17:38 +0000
commit17250c91570d3ba20a4dbbe5746d4558f1a34c87 (patch)
treec3c1b81abee6f583fd3d878ab949d9822c3e9542 /railties/bin
parente234115b630d05c0868a60eca65142ff3137064f (diff)
downloadrails-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/profiler1
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