Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed a bug where rubinius was creating the profiling files as direct…

…ories
  • Loading branch information...
commit 391ccdaf35f41e38905a940a72e30b484cb0baf9 1 parent a35ba6c
@goncalossilva goncalossilva authored
View
2  activesupport/lib/active_support/testing/performance/rubinius.rb
@@ -50,7 +50,7 @@ def record
protected
def create_path_and_open_file(printer_name)
fname = "#{output_filename}_#{printer_name}.txt"
- FileUtils.mkdir_p(fname)
+ FileUtils.mkdir_p(File.dirname(fname))
File.open(fname, 'wb') do |file|
yield(file)
end
Please sign in to comment.
Something went wrong with that request. Please try again.