Jasig/sass-maven-plugin — pull request #53 by RangerRick (2013-10-18 20:45:27+00:00)
Title: Fix for issue #47, ENV["GEM_PATH"] is not an array when set

The problem is that when ENV["GEM_PATH"] is set, it's just a string containing a colon-separated list of paths (or semicolon, on Windows). When it's nil, the code in the sass-maven-plugin works, because it just does nothing. When it's set, you're trying to add the string to the env array you've already created.

Since we already have the environment in the Java side, I figured the easiest fix is to just ignore ENV["GEM_PATH"] on the ruby side, and instead append it to the env["GEM_PATH"] you're already building up in the sassScript StringBuilder, since it's basically already doing that anyways. ;)