Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix exception #1

Merged
merged 1 commit into from

2 participants

@masterkain

Solves a TypeError
can't convert Pathname to String

@unixcharles unixcharles merged commit c8fba08 into unixcharles:master
@unixcharles
Owner

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 13, 2011
  1. @masterkain

    Fix exception

    masterkain authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/vcr_remote_controller.rb
View
2  lib/vcr_remote_controller.rb
@@ -28,7 +28,7 @@ def controller(env)
def cassettes
Dir["#{VCR::Config.cassette_library_dir}/**/*.yml"].map do |f|
- f.match(/^#{Regexp.escape(VCR::Config.cassette_library_dir)}\/(.+)\.yml/)[1]
+ f.match(/^#{Regexp.escape(VCR::Config.cassette_library_dir.to_s)}\/(.+)\.yml/)[1]
end
end
Something went wrong with that request. Please try again.