mkmf and spaces in directory path fails

I have had issues with bundler when using it on a windows machine. I initially thought it was because of spaces in the directory path but then when trying it on a location without spaces, it still had problems. If I try to install do_sqlite3 using gem install it works but if I try to install it using gem bundle, it doesn’t. A cli session showing this is at http://pastie.org/687220

Below is information from Luis in reply to that pastie.

thanks,

Dominic

Sorry for the noise! Moved the issue to the bundler issues list http://github.com/wycats/bundler/issues/#issue/97