You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running "rails g ember:install" does not install ember.js files into "vendor/assets/ember" as expected.
Running "rails g ember:install --head" does place the ember.js files into "vedor/assets/ember"
To reproduce:
rails new ember-rails-test (with rails version '3.2.8')
add "gem 'ember-rails', github: 'emberjs/ember-rails'" to GemFile
run "bundle install"
add "config.ember.variant = :development" to development.rb
run "rails g ember:install". Produces no output
run "rails g ember:bootstrap"
create controller and hit view in browser. Produces following errors in console:
Uncaught Error: assertion failed: Ember Views require jQuery 1.7 ember.js:43
Uncaught TypeError: Cannot call method 'extend' of undefined :3000/assets/ember-data.js?body=1:141
Uncaught TypeError: Cannot call method 'create' of undefined ember.js:10183
Uncaught ReferenceError: ember-rails-test is not defined :3000/assets/store.js?body=1:1
Uncaught ReferenceError: ember-rails-test is not defined :3000/assets/controllers/application_controller.js?body=1:1
Uncaught ReferenceError: ember-rails-test is not defined :3000/assets/views/application_view.js?body=1:1
Uncaught TypeError: Cannot call method 'template' of undefined :3000/assets/templates/application.js?body=1:1
Uncaught ReferenceError: ember-rails-test is not defined app_router.js:1
Uncaught ReferenceError: ember-rails-test is not defined
Run "rails g ember:bootstrap --head"
Views load fine
The text was updated successfully, but these errors were encountered:
For step 8, did you mean to say: Run "rails g ember:install --head"?
I'm running into the same problem you are. When I try "rails g ember:install", I get this output:
Could not find "ember.js" in any of your source paths. Your current source paths are:
/Users/name/.rvm/gems/ruby-1.9.3-p0/gems/vendor/assets/javascripts
Running "rails g ember:install --head" (after installing phantomjs) does put ember.js in vendor/assets/javascripts, but finishes the command with:
Could not find "ember.debug.js" in any of your source paths. Your current source paths are:
/Users/name/.ember/dist
Running "rails g ember:install" does not install ember.js files into "vendor/assets/ember" as expected.
Running "rails g ember:install --head" does place the ember.js files into "vedor/assets/ember"
To reproduce:
Uncaught Error: assertion failed: Ember Views require jQuery 1.7 ember.js:43
Uncaught TypeError: Cannot call method 'extend' of undefined :3000/assets/ember-data.js?body=1:141
Uncaught TypeError: Cannot call method 'create' of undefined ember.js:10183
Uncaught ReferenceError: ember-rails-test is not defined :3000/assets/store.js?body=1:1
Uncaught ReferenceError: ember-rails-test is not defined :3000/assets/controllers/application_controller.js?body=1:1
Uncaught ReferenceError: ember-rails-test is not defined :3000/assets/views/application_view.js?body=1:1
Uncaught TypeError: Cannot call method 'template' of undefined :3000/assets/templates/application.js?body=1:1
Uncaught ReferenceError: ember-rails-test is not defined app_router.js:1
Uncaught ReferenceError: ember-rails-test is not defined
The text was updated successfully, but these errors were encountered: