Skip to content

Fixes 'Unhandled exception: no implicit conversion of Pathname into S…#22

Open
tonybyrne wants to merge 4 commits intokovyrin:masterfrom
tonybyrne:master
Open

Fixes 'Unhandled exception: no implicit conversion of Pathname into S…#22
tonybyrne wants to merge 4 commits intokovyrin:masterfrom
tonybyrne:master

Conversation

@tonybyrne
Copy link

…tring (TypeError)' exception when running on Ruby 2.2.2.

I spotted the above issue after upgrading our Rails app to Ruby 2.2.2. Concatenating a Pathname to a String, no longer 'casts' the Pathname to a String. You either need to call Pathname#to_s, or use File#join. I opted for the latter - hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants