In a non-rails project (not sure if that matters)
"spec/features/lead_time_spec.rb" [New DIRECTORY]
Error detected while processing function RailsDetect:
line 18:
E605: Exception not caught: Rails app detection bug: 'spec/features', 'spec', '.']
Error detected while processing function <SNR>58_Activate..RailsDetect:
line 18:
E605: Exception not caught: Rails app detection bug: 'spec/foo', 'spec', '.']
Error detected while processing function <SNR>58_Activate:
line 1:
E171: Missing :endif