aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin/profiler
diff options
context:
space:
mode:
Diffstat (limited to 'railties/bin/profiler')
-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