Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 17250c91570d3ba20a4dbbe5746d4558f1a34c87 1 parent e234115
@dhh dhh authored
Showing with 3 additions and 0 deletions.
  1. +2 −0  railties/CHANGELOG
  2. +1 −0  railties/bin/profiler
View
2  railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Fixed script/profiler for Ruby 1.8.2 #1863 [Rick Olson]
+
* Fixed clone_structure_to_test task for SQLite #1864 [jon@burningbush.us]
* Added -m/--mime-types option to the WEBrick server, so you can specify a Apache-style mime.types file to load #2059 [ask@develooper.com]
View
1  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
Please sign in to comment.
Something went wrong with that request. Please try again.