File name too long - .../features/support/vcr_cassettes/feature-name/scenario_with_multiline_preamble_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines_and_more_lines.yml (Errno::ENAMETOOLONG)
This issue is totally analogous to https://github.com/myronmarston/vcr/issues/157 and I quasi-copied the changes you did in myronmarston@034bdaf
The change in .gitignore is of course optional, but can help other users of Rubymine (and I think it's a good practice to exclude config dirs for popular editors anyway)
Thanks for your work!
Excluding Rubymine project config files from repo
Only use the first line of the cuke scenario name in the cassette name.
Just like features, scenarios can have multiline preambles. When
using the :use_scenario_name option, VCR will only use the first line
of the scenario name as the directory for the cassette. This change
is modeled after commit 034bdaf