module.exports = function(grunt) {
  require('load-grunt-tasks')(grunt);

  grunt.initConfig({
    secret: grunt.file.readJSON('secret.json'),

    // TODO: This won't rm removed resources automatically!
    sftp: {
      options: {
        path: '<%= secret.path %>',
        host: '<%= secret.host %>',
        username: '<%= secret.username %>',
        agent: process.env.SSH_AUTH_SOCK,
        showProgress: true,
        srcBasePath: '_site/',
        createDirectories: true
      },

      all: {
        files: {
          './': ['_site/**']
        }
      }
    },

    exec: {
      build: 'jekyll b'
    }

  });

  grunt.registerTask('deploy', ['exec:build', 'sftp']);
};

@@ -600,16 +600,28 @@
 d: '
+bundle exec 
 jekyll b
 '%0A  
@@ -616,16 +616,20 @@
 jekyll b
+uild
 '%0A    %7D%0A

Update Grunt deploy to use bundle