Open
Description
I got this error when following the setup steps on a Windows 8 PC in Bash GUI shell:
$ rake ember:install --trace
** Invoke ember:install (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute ember:install
rake aborted!
ArgumentError: invalid byte sequence in UTF-8
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/activesupport-4.2.5/lib/active_support/core_ext/string/strip.rb:23:in `scan'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/activesupport-4.2.5/lib/active_support/core_ext/string/strip.rb:23:in `strip_heredoc'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/ember-cli-rails-0.6.0/lib/ember_cli/runner.rb:22:in `run!'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/ember-cli-rails-0.6.0/lib/ember_cli/shell.rb:68:in `exec'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/ember-cli-rails-0.6.0/lib/ember_cli/shell.rb:40:in `install'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/ember-cli-rails-0.6.0/lib/ember_cli/app.rb:69:in `install_dependencies'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/ember-cli-rails-0.6.0/lib/ember-cli-rails.rb:67:in `block in each_app'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/ember-cli-rails-0.6.0/lib/ember-cli-rails.rb:67:in `each'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/ember-cli-rails-0.6.0/lib/ember-cli-rails.rb:67:in `each_app'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/ember-cli-rails-0.6.0/lib/ember-cli-rails.rb:38:in `install_dependencies!'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/ember-cli-rails-0.6.0/lib/tasks/ember-cli.rake:14:in `block (2 levels) in <top (required)>'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:240:in `call'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:240:in `block in execute'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:235:in `each'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:235:in `execute'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:179:in `block in invoke_with_call_chain'
C:/Ruby22-x64/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:165:in `invoke'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:150:in `invoke_task'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:106:in `block (2 levels) in top_level'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:106:in `each'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:106:in `block in top_level'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:115:in `run_with_threads'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:100:in `top_level'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:78:in `block in run'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:75:in `run'
C:/Ruby22-x64/bin/rake:33:in `<main>'
Tasks: TOP => ember:install
Ember version:
$ ember -v
version: 1.13.13
node: 4.2.3
npm: 2.14.10
os: win32 x64
Here is th egenerated package.json file of the Rails app:
{
"name": "frontend",
"version": "0.0.0",
"description": "Small description for frontend goes here",
"private": true,
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build",
"start": "ember server",
"test": "ember test"
},
"repository": "",
"engines": {
"node": ">= 0.10.0"
},
"author": "",
"license": "MIT",
"devDependencies": {
"broccoli-asset-rev": "^2.2.0",
"ember-cli": "1.13.13",
"ember-cli-app-version": "^1.0.0",
"ember-cli-babel": "^5.1.5",
"ember-cli-content-security-policy": "0.4.0",
"ember-cli-dependency-checker": "^1.1.0",
"ember-cli-htmlbars": "^1.0.1",
"ember-cli-htmlbars-inline-precompile": "^0.3.1",
"ember-cli-ic-ajax": "0.2.4",
"ember-cli-inject-live-reload": "^1.3.1",
"ember-cli-qunit": "^1.0.4",
"ember-cli-rails-addon": "0.7.0",
"ember-cli-release": "0.2.8",
"ember-cli-sri": "^1.2.0",
"ember-cli-uglify": "^1.2.0",
"ember-data": "1.13.15",
"ember-disable-proxy-controllers": "^1.0.1",
"ember-export-application-global": "^1.0.4"
}
}
Any idea ? Thank you.