This is the problem:

irb(main):002:0> x = '--rails --exclude something_is_not_right
\/usr\/lib,test\/lib'
=> "--rails --exclude something_is_not_right \\/usr\\/lib,test\\/lib"

irb(main):004:0> p x
"--rails --exclude something_is_not_right \\/usr\\/lib,test\\/lib"

How do I get a literal string like /usr\/lib,test\/lib into a variable?
Where are these extra '\' artifacts coming from?
-- 
Posted via http://www.ruby-forum.com/.