I am executing a system command with ruby. The code is like this
commandtoexecute=“pararellrspec --type rspec -n 1 --test-options '--test "cases's owner"' testing/multi/getcreate.rb “
system(commandtoexecute)
On executing the above line it gives error
sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c: line 1: syntax error: unexpected end of file
But when I execute by replacing cases's with casess above it works. Does any one has any idea how to prevent this error above without replacing "cases's" with "casess"