Do not use shellescape on Windows. Instead use a simple whitespace join with a rudimentary quoting scheme.
Specs for Windows shell
Remove Gemfile.lock, which is the recommended practice for gems: http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/