Closed Chrisgo-75 closed 8 years ago
I ran into this error after upgrading emberjs to ~2.6.0 in my frontend/bower.json file. (App deployed to heroku) Reverting it to ~2.5.0 solved the issue. This is not an answer but maybe it can help.
@dcyriller thanks for your response. That is an option that I hadn't considered yet ... to change the version of emberjs and re-try. Do you know if I need nodejs running on the server for EmberCLI to work? I assumed the answer would be no because Ember files are static files after the build process.
@dcyriller I updated Ember to ~2.5.0 and I get the same error "EmberCLI failed to generate an index.html
file" on our staging server. Wanted to say thank you for your comment.
Wasn't able to resolve the issue ... closing issue.
? why would you close if you couldnt resolve?
having the same issue myself
@sebbean Why did I close? b/c I wasn't getting any help from the authors of the gem. b/c I didn't want to leave the ticket open when I don't have huge amounts of time to invest in Ember.
I never did find out why my setup was failing to generate 'index.html' file. Google search found hits but nothing panned out. I ended up coding up a Rails 3 application and Ember application separately and then adding the Ember app within Rails.
I wish you luck!
leaving it open seems like a better idea if it's still an issue i'd think.. does it hurt?
my issue was that assets:precompile wasnt running pre-deploy
Following the README, the Rails/Ember application works nicely on my Ubuntu 14.04 LTS VirtualMachine. When I deploy to our staging server (Ubuntu 14.04 LTS, Apache 2.4.7, Phusion Passenger) I get an error in the Rails log that says
I run "
RAILS_ENV=staging bundle exec rake assets:precompile
" before I deploy and am using Capistrano in deploying.Any ideas on why I am getting the error? Why is the Rails/Ember working in my VM but not on the staging server? I can post code if that would be helpful ... which files? Thank you, Chris
Which operating system and version is the project developed on? Ubuntu 14.04 LTS, Apache 2.4.7, Phusion Passenger
Which version of
ruby
is the project developed on? Ruby 2.3.0Which version of
npm
is the project developed on? node v5.10.1 (npm v3.9.0)Which version of
ember-cli
is the project developed on? "ember-cli": "2.4.3"What is the
rails
version? Rails 4.2.6What is the
ember-cli-rails
version (fromGemfile
)? ember-cli-rails (0.7.4)What is the
ember-cli-rails-addon
version (frompackage.json
)? "ember-cli-rails-addon": "~> 0.7.0",Is your application server multi-threaded (such as
puma
andunicorn
) or is it multi-process (such as thin and webrick)? Phusion Passenger & ApacheWhat are the contents of
config/initializers/ember.rb
? c.app :frontend # assumes your Ember app exists in Rails.root.join("frontend") c.app :cdaWhat are the contents of the Rails' view that renders the Ember application?
How are the EmberCLI-related routes defined?
How is the application deployed? Capistrano