Gruntfile.js
function(version) {
    var command = 'node_modules/.bin/bower uninstall ember && node_modules/.bin/bower install ember#' + version;

    grunt.log.writeln('Running bower install', command);

    try {
      var resultBower = execSync(command);
      grunt.log.writeln(resultBower);
    } catch (e) {
      grunt.fail.warn(e);
    }
  }
function(version) {
    var command = 'node_modules/.bin/bower uninstall ember && node_modules/.bin/bower install ember#' + version;

    grunt.log.writeln('Running bower install', command);

    try {
      var resultBower = execSync(command);
      grunt.log.writeln(resultBower);
    } catch (e) {
      grunt.fail.warn(e);
    }
  }
function ( version ) { var command = 'node_modules/.bin/bower uninstall ember && node_modules/.bin/bower install ember#' + version ; grunt . log . writeln ( 'Running bower install' , command ) ; try { var resultBower = execSync ( command ) ; grunt . log . writeln ( resultBower ) ; } catch ( e ) { grunt . fail . warn ( e ) ; } }
Install the determined version of Ember package with bower.

@param {String} version
Install the determined version of Ember package with bower .